Skip to content

Function: executeRead()

executeRead<T>(operation, settings, fn, signal?): Promise<T>

Run one idempotent read through the shared executor and unwrap it.

execute() never throws, so a failed call arrives as { ok: false } with a status the interceptors already sanitized; it is logged here and re-raised as a stable ExecutionError so an upstream message never becomes the caller’s error text. signal is the caller’s own cancellation (an agent run, a request teardown); it is merged with the signal the timeout interceptor supplies so either one unwinds the I/O.

T

string

WebSearchExecutionSettings

(signal?) => Promise<T>

AbortSignal

Promise<T>