View Source Siblings.InternalWorker.State (Siblings v0.11.1)

The state of the worker.

Link to this section Summary

Link to this section Types

@type t() :: %Siblings.InternalWorker.State{
  id: Siblings.Worker.id(),
  initial_payload: Siblings.Worker.payload(),
  worker: module(),
  fsm: nil | {reference(), pid()},
  lookup: nil | pid() | GenServer.name(),
  throttler: %{optional({module(), atom()}) => GenServer.name()},
  internal_state: nil | pid() | GenServer.name(),
  hibernate?: boolean(),
  offload: nil | (t() -> :ok),
  interval: nil | non_neg_integer(),
  schedule: nil | reference()
}