View Source Siblings.InternalWorker (Siblings v0.11.0)

The internal process to manage Siblings.Worker subsequent runs along with its FSM.

Link to this section Summary

Types

Allowed options in a call to start_link/4

Functions

Returns a specification to start this module under a supervisor.

Link to this section Types

@type options() :: [
  interval: nil | non_neg_integer(),
  lookup: nil | pid() | GenServer.name(),
  throttler: %{optional({module(), atom()}) => GenServer.name()},
  internal_state: nil | pid() | GenServer.name(),
  name: GenServer.name(),
  hibernate?: boolean(),
  offload: (Siblings.InternalWorker.State.t() -> :ok)
]

Allowed options in a call to start_link/4

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.