SuperWorker.Supervisor.Group (SuperWorker v0.1.0)
View SourceDocumentation for SuperWorker.Supervisor.Group.
Summary
Functions
A internal function. Add a worker to the group.
Check, validate and convert key-value pairs to struct.
Get all workers from the group.
Get worker from the group.
A internal function. Restart a worker in the group.
Check if worker exists in the group.
Types
Functions
A internal function. Add a worker to the group.
@spec check_options([keyword()]) :: {:ok, %SuperWorker.Supervisor.Group{ id: term(), partition: term(), restart_strategy: term(), supervisor: term() }} | {:error, atom() | {atom(), any()}}
Check, validate and convert key-value pairs to struct.
Get all workers from the group.
Get worker from the group.
A internal function. Restart a worker in the group.
Check if worker exists in the group.