Graphorin API reference v0.12.1
Graphorin API reference / @graphorin/server / / RunHandle
Interface: RunHandle
Defined in: packages/server/src/runtime/run-state.ts:135
In-flight handle returned by RunStateTracker.start. Handlers pass signal into the underlying agent.run / workflow.execute invocation so cancellation propagates instantly.
Stable
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
runId | readonly | string | packages/server/src/runtime/run-state.ts:136 |
signal | readonly | AbortSignal | packages/server/src/runtime/run-state.ts:137 |
Methods
cancel()
ts
cancel(reason?): void;Defined in: packages/server/src/runtime/run-state.ts:138
Parameters
| Parameter | Type |
|---|---|
reason? | unknown |
Returns
void