Skip to content

Graphorin API reference v0.9.0


Graphorin API reference / @graphorin/core / / RequestApprovalOptions

Interface: RequestApprovalOptions

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

Options for requestApproval (E1 defer-timeout).

Stable

Properties

PropertyModifierTypeDescriptionDefined in
timeoutAt?readonlystring | number | DateAbsolute deadline. When it passes with the approval still pending, workflow.tick(threadId) resolves it with timeoutDecision (the auto-deny composition); the workflow timer daemon enumerates the deadline exactly like a sleepUntil timer. How long to wait is caller policy - the framework only provides the mechanism.packages/core/src/channels/durable.ts:254
timeoutDecision?readonlyunknownJSON-safe decision delivered on timeout. Default DEFAULT_APPROVAL_TIMEOUT_DECISION (a deny) - an unattended deferred permission fails closed.packages/core/src/channels/durable.ts:260