Skip to main content

Type Alias: WorkflowSinks

WorkflowSinks = Readonly<Record<string, Readonly<Record<string, (...args) => void>>>>

Fire-and-forget calls to worker-side code (11 §2.31, self-hosted workers): ctx.sinks.<sink>.<fn>(...args). Calls are reported once, when the task completes, never during replay or in a query. Managed runs ignore them.