Type Alias: CollectionSnapshotListener()<T>
Listener for collection snapshots: receives the full current array and the diff.
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
items | T[] |
changes | DocChange<T>[] |
Returns
void
Defined in
odin-transcription-service/packages/cortex-typescript-sdk/src/realtime/watch.ts:28