toolProviderAdapterRunProjector()
Creates a tool provider adapter run projector.
Import
Section titled “Import”import { toolProviderAdapterRunProjector } from "@graphrefly/ts/orchestration";Signature
Section titled “Signature”function toolProviderAdapterRunProjector( graph: Graph, opts: { readonly name?: string; readonly inputs: Node<ToolProviderAdapterInput>; readonly runRequests?: readonly Node<ToolProviderAdapterRunRequested>[]; readonly autoRunReadyInputs?: boolean; readonly now?: () => number; },): ToolProviderAdapterRunBundleParameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
graph | Graph | Graph that owns the created nodes or projector. |
opts | { readonly name?: string; readonly inputs: Node<ToolProviderAdapterInput>; readonly runRequests?: readonly Node<ToolProviderAdapterRunRequested>[]; readonly autoRunReadyInputs?: boolean; readonly now?: () => number; } | Options that configure the helper. |
Returns
Section titled “Returns”A node bundle that emits the projected records.
Example
Section titled “Example”import { toolProviderAdapterRunProjector } from "@graphrefly/ts/orchestration";Source
Section titled “Source”packages/ts/src/orchestration/agent-runtime-adapter-run.ts