PhoenixMicro.Saga.Supervisor (PhoenixMicro v1.0.0)

Copy Markdown View Source

DynamicSupervisor that owns all running saga processes. Each saga runs in its own isolated Saga.Server process.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts \\ [])

@spec start_link(keyword()) :: Supervisor.on_start()

start_saga(args)

@spec start_saga({module(), String.t(), map(), keyword()}) ::
  DynamicSupervisor.on_start_child()