Skip to content
PACKAGES

fakeExecutorTimeout()

Creates a fake executor timeout.

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

The fake executor timeout result.

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

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