API Reference
fakeExecutorCanceled()
Creates a fake executor canceled.
Import
import { fakeExecutorCanceled } from "@graphrefly/ts/orchestration";
Signature
function fakeExecutorCanceled(opts: Omit<ExecutorOutcomeBase, "kind"> & { readonly reason?: string }): ExecutorOutcome
Parameters
| Parameter | Type | Description |
|---|---|---|
opts | Omit<ExecutorOutcomeBase, "kind"> & { readonly reason?: string } | Options that configure the helper. |
Returns
The fake executor canceled result.
Example
import { fakeExecutorCanceled } from "@graphrefly/ts/orchestration";
Source
packages/ts/src/orchestration/agent-runtime-fakes.ts