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
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
timeoutAt? | readonly | string | number | Date | Absolute 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? | readonly | unknown | JSON-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 |