Skip to content
PACKAGES

fakeExecutorResult()

Creates a fake executor result.

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

The fake executor result result.

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

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