View Source Siblings (Siblings v0.1.0)

The topmost supervisor, carrying all the workers.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Starts the supervised child under the PartitionSupervisor.

Starts the supervision subtree, holding the PartitionSupervisor.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

start_child(worker, id, payload, opts \\ [])

View Source
@spec start_child(
  module(),
  Siblings.Worker.id(),
  Siblings.Worker.payload(),
  Siblings.InternalWorker.options()
) :: DynamicSupervisor.on_start_child()

Starts the supervised child under the PartitionSupervisor.

Starts the supervision subtree, holding the PartitionSupervisor.