# prov.trace.evalRuns.wait

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

## Signature

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

## Parameters

- `runId` (string)
- `opts` ({ timeoutMs?: number; intervalMs?: number }, optional)

## Returns

`Promise<EvalRun>`

Runs locally, with no request to the API.
