Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/agent / / AbortOptions
Interface: AbortOptions
Defined in: packages/agent/src/types.ts:247
Cancellation options accepted by agent.abort({...}).
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
drain? | readonly | boolean | Wait for the current step to complete before stopping. | packages/agent/src/types.ts:249 |
onPendingApprovals? | readonly | "deny" | "hold" | "fail" | What to do with approvals that were already requested but not resolved at abort time. - 'deny' (default) — auto-deny pending approvals. - 'hold' — keep the approvals on RunState.pendingApprovals. - 'fail' — reject the run with RunError(code: 'run-aborted'). | packages/agent/src/types.ts:258 |