# prov.trace.diffs.wait

prov.trace.diffs.wait in Node SDK. Poll until terminal (diffs are computed over stored registries, usually seconds).

## Signature

```ts
prov.trace.diffs.wait(diffId: string, opts?: { timeoutMs?: number; intervalMs?: number }): Promise<TraceDiff>
```

## Parameters

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

## Returns

`Promise<TraceDiff>`

Runs locally, with no request to the API.
