Maestro.Aggregate.Supervisor (Maestro v0.5.0)
View SourceSupervisor for Maestro.Aggregate.Roots across any/all domains.
All aggregate roots, no matter how many different kinds you may have, are managed by a single supervisor/registry (for now). Given that aggregates are independently configurable and extensible, the need for a 1:1 on supervisors per aggregate is a premature optimization. Furthermore, aggregate IDs are HLC timestamps and are thus unique even across aggregates.
Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for DynamicSupervisor.init/1.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Callback implementation for DynamicSupervisor.init/1.