Skip to content

sweepDeadlines

function sweepDeadlines(runtime, options?): Promise<RunRef[]>;

Deliver the timeout outcome to paused runs whose waitingFor.deadline is in the past. InterruptRequest has no configured outcome field; the default is a structured deny (reason: 'deadline-expired') through signalDelivery.

Parameter Type

runtime

SweepRuntime

options

SweepDeadlinesOptions

Promise<RunRef[]>