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