API Reference SuperWorker v#0.7.0

Copy Markdown View Source

Modules

Documentation for SuperWorker.

A simple Circuit Breaker implementation for protecting external API calls.

Bootstraps supervisors from parsed configurations.

This module is the main entry point for loading supervisor configurations. It reads configurations from the application environment, uses the Parser to validate and expand them, and the Bootstrap to start the supervisors.

Parses and validates supervisor configurations from the application environment.

Exception module for SuperWorker errors.

Conditional debug logging for SuperWorker.

Documentation for SuperWorker.Supervisor. This module is new model supervisor. Better support for modern applications. That is an all-in-one supervisor for Elixir application. Easy to identify the worker for directly communicating with it.

Utility functions for SuperWorker.Supervisor.

Handles the configuration and validation for a Chain.

Handles message passing and data flow within a worker chain.

This module defines the valid restart strategies for different types of workers.

This module contains all timeout-related constants used in the SuperWorker system.

This module defines various types and constant lists used throughout the SuperWorker system.

Provides validation functions for various constants and parameters in the SuperWorker system.

Provides consistent error handling for the SuperWorker system.

Main message loop for partition processes.

A simple queue implementation using a map for O(1) lookups.

Utility functions for SuperWorker.Supervisor.

Utility functions for SuperWorker.Supervisor.

A thin wrapper around :persistent_term for storing terms that are rarely updated and read from many processes on the node.