Skip to main content

Interface: DequeueOptions

Defined in: packages/workflow-engine/src/persistence/interface.ts:568

Properties​

serves?​

optional serves?: readonly ServedDefinition[]

Defined in: packages/workflow-engine/src/persistence/interface.ts:577

When supplied, only jobs whose run this caller can serve are claimed. A job whose payload carries a _definitionVersion not in serves is left for a host that presents that version; a job with no _definitionVersion is claimable when serves names its _workflowId. A transport that cannot express the filter MAY ignore it, because the kernel's version-ghost deferral is the backstop.