Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/server / / RunHandle

Interface: RunHandle

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

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:111
signalreadonlyAbortSignalpackages/server/src/runtime/run-state.ts:112

Methods

cancel()

ts
cancel(reason?): void;

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

Parameters

ParameterType
reason?unknown

Returns

void