Skip to content

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

PropertyModifierTypeDefined in
runIdreadonlystringpackages/server/src/runtime/run-state.ts:83
signalreadonlyAbortSignalpackages/server/src/runtime/run-state.ts:84

Methods

cancel()

ts
cancel(reason?): void;

Defined in: packages/server/src/runtime/run-state.ts:85

Parameters

ParameterType
reason?unknown

Returns

void