Skip to content
PACKAGES

fakeExecutorCanceled()

Creates a fake executor canceled.

import { fakeExecutorCanceled } from "@graphrefly/ts/orchestration";
function fakeExecutorCanceled(opts: Omit<ExecutorOutcomeBase, "kind"> & { readonly reason?: string }): ExecutorOutcome
ParameterTypeDescription
optsOmit<ExecutorOutcomeBase, "kind"> & { readonly reason?: string }Options that configure the helper.

The fake executor canceled result.

import { fakeExecutorCanceled } from "@graphrefly/ts/orchestration";

packages/ts/src/orchestration/agent-runtime-fakes.ts