workerDrainSet

Toggles draining on the worker.

Arguments

Returns

Worker!
Worker!
Collapse
  • id
    Globally unique, immutable ID of the Worker.
  • Busy indicates whether the Worker is currently processing a Run.
  • drained
    Drained indicates that the worker is not accepting new work.
  • metadata
    Metadata associated with the worker.
  • createdAt
    Unix timestamp representing the worker creation.