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