View Source Commanded.Aggregates.Supervisor (Commanded v1.4.1)

Supervises Commanded.Aggregates.Aggregate instance processes.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for DynamicSupervisor.init/1.

Open an aggregate instance process for the given aggregate module and unique identity.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback implementation for DynamicSupervisor.init/1.

Link to this function

open_aggregate(application, aggregate_module, aggregate_uuid)

View Source

Open an aggregate instance process for the given aggregate module and unique identity.

Returns {:ok, aggregate_uuid} when a process is successfully started, or is already running.