Cyclium. Reconciler
(Cyclium v0.1.5)
Copy Markdown
Detects spec changes and reconciles running actors.
Subscribes to "spec.updated" Bus events. When an actor's config
or expectations change:
- Computes new config from the actor module
- Sends
{:reconcile, new_config, new_expectations}to the actor GenServer - Identifies orphaned blocked episodes (expectation removed) and cancels them
Starting
Added to Cyclium.Supervisor when reconciliation is enabled:
config :cyclium, reconciler: true
Summary
Functions
Returns a specification to start this module under a supervisor.
Trigger reconciliation for an actor module. Can be called programmatically or via the Bus event.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Trigger reconciliation for an actor module. Can be called programmatically or via the Bus event.