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