Skip to content

Graphorin API reference v0.15.1


Graphorin API reference / @graphorin/core / / sleepUntil

Function: sleepUntil()

ts
function sleepUntil(at): void;

Defined in: packages/core/src/channels/durable.ts:126

Stable

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