Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/server / / RunHandle
Interface: RunHandle
Defined in: packages/server/src/runtime/run-state.ts:82
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:83 |
signal | readonly | AbortSignal | packages/server/src/runtime/run-state.ts:84 |
Methods
cancel()
ts
cancel(reason?): void;Defined in: packages/server/src/runtime/run-state.ts:85
Parameters
| Parameter | Type |
|---|---|
reason? | unknown |
Returns
void