Type Alias: CollectionSnapshotListener()<T>
type CollectionSnapshotListener<T>: (items, changes) => void;
Listener for collection snapshots: receives the full current array and the diff.
Type Parameters
Parameters
Returns
void
Defined in
4Players/cortex-typescript-sdk/src/realtime/watch.ts:28