workQueueScheduledReadinessProjector()
Translate workQueue-local delayed eligibility records into D432 shared readiness schedules.
The projector is intentionally visibility-only: it never claims work, expires leases, cancels, completes, fails, mutates queue records, or starts timers. D433 consumption/materialization stays owned by later workQueue domain projectors.
Import
Section titled “Import”import { workQueueScheduledReadinessProjector } from "@graphrefly/ts/orchestration/work-queue";Signature
Section titled “Signature”function workQueueScheduledReadinessProjector( graph: Graph, opts: { readonly name?: string; readonly records: Node<WorkQueueRecord<T>>; },): WorkQueueScheduledReadinessBundleParameters
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>>; } | Options that configure the helper. |
Returns
Section titled “Returns”A node bundle that emits the projected records.
Example
Section titled “Example”import { workQueueScheduledReadinessProjector } from "@graphrefly/ts/orchestration/work-queue";Source
Section titled “Source”packages/ts/src/orchestration/work-queue-scheduled-readiness.ts