SDK reference · Node SDK

prov.trace.evalRuns.wait

prov.trace.evalRuns.wait in Node SDK. Poll until the run completes or fails.

Signature

prov.trace.evalRuns.wait(runId: string, opts?: { timeoutMs?: number; intervalMs?: number }): Promise<EvalRun>

Parameters

runIdstringRequired
opts{ timeoutMs?: number; intervalMs?: number }

Returns

Promise<EvalRun>

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.