Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/workflow / / sleepUntil

Function: sleepUntil()

ts
function sleepUntil(at): void;

Defined in: packages/core/dist/channels/durable.d.ts

Durably sleep until an absolute instant. Suspends the workflow thread with a persisted wake-at timestamp; workflow.tick(threadId) resumes it once due. Returns nothing on resume.

Parameters

ParameterType
atstring | number | Date

Returns

void

Stable