workQueueReadinessHandoffProjector()
Consume D433 shared readiness through workQueue-owned handoff material.
Ready facts only produce queue-domain candidates/status. They do not claim work, expire leases, cancel, complete, fail, or append workQueue records. Lease expiration candidates can be lowered separately into the existing mutation-bearing expire-leases command path.
Import
Section titled “Import”import { workQueueReadinessHandoffProjector } from "@graphrefly/ts/orchestration/work-queue";Signature
Section titled “Signature”function workQueueReadinessHandoffProjector( graph: Graph, opts: { readonly name?: string; readonly records: Node<WorkQueueRecord<T>>; readonly ready: Node<ScheduledReadinessReady>; readonly overdue?: Node<ScheduledReadinessOverdue>; },): WorkQueueReadinessHandoffBundleParameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
graph | Graph | Graph that owns the created nodes or projector. |
opts | { readonly name?: string; readonly records: Node<WorkQueueRecord<T>>; readonly ready: Node<ScheduledReadinessReady>; readonly overdue?: Node<ScheduledReadinessOverdue>; } | Options that configure the helper. |
Returns
Section titled “Returns”A node bundle that emits the projected records.
Example
Section titled “Example”import { workQueueReadinessHandoffProjector } from "@graphrefly/ts/orchestration/work-queue";Source
Section titled “Source”packages/ts/src/orchestration/work-queue-scheduled-readiness.ts