View Source Siblings.InternalWorker.State (Siblings v0.10.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(),
  killer: nil | pid() | GenServer.name(),
  hibernate?: boolean(),
  offload: nil | (t() -> :ok),
  interval: nil | non_neg_integer(),
  schedule: nil | reference()
}