[]
Context object passed to "readSnapshots" middleware functions.
| Name |
|---|
S |
• new ReadSnapshotsRequest<S>()
| Name |
|---|
S |
• snapshotType: SnapshotTypes
The type of snapshot being read.
• snapshots: ISnapshot<S>[]
The snapshots being read.
▸ rejectSnapshotReadSilent(snapshot, errorMessage): void
Rejects the read of a specific snapshot silently, preventing its data from being sent to the client. Sets a special error code that avoids passing the error to user code while still performing actions like canceling subscriptions.
| Name | Type | Description |
|---|---|---|
snapshot |
ISnapshot<S> |
The snapshot to reject. |
errorMessage |
string |
The reason for rejection. |
void