Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/core / / sleepUntil

Function: sleepUntil()

ts
function sleepUntil(at): void;

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

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