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

The state of the worker.

Link to this section Summary

Link to this section Types

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