pendingCountPending local commits, including synchronous pre-commit reservations.
pendingCount: number;
pendingOperationsAggregate DocumentOp count, including synchronous pre-commit reservations.
pendingOperations: number;
pendingEncodedBytesAggregate UTF-8 bytes of pending JSON-encoded operation arrays.
pendingEncodedBytes: number;
pendingCapacityCurrent local transaction admission state.
pendingCapacity: SyncPendingCapacityStatetype SyncPendingCapacityState =
| "hydrating"
| "available"
| "full"
| "restore-error"
| "destroyed";typeSyncPendingCapacityState=|"hydrating"|"available"|"full"|"restore-error"|"destroyed";typeSyncPendingCapacityState=|"hydrating"|"available"|"full"|"restore-error"|"destroyed";Whether the durable local queue can currently admit another transaction.API reference →;
serverVersionLast accepted contiguous remote server version.
serverVersion: number;
Declaration
View full TypeScript declaration
exportinterfaceSyncStateSnapshot {
connection:SyncConnectionStatetype SyncConnectionState =
"offline" | "connecting" | "online" | "error" | "destroyed";typeSyncConnectionState="offline"|"connecting"|"online"|"error"|"destroyed";typeSyncConnectionState=|"offline"|"connecting"|"online"|"error"|"destroyed";Host-controlled online state reported by synchronization.API reference →;
pendingCapacity:SyncPendingCapacityStatetype SyncPendingCapacityState =
| "hydrating"
| "available"
| "full"
| "restore-error"
| "destroyed";typeSyncPendingCapacityState=|"hydrating"|"available"|"full"|"restore-error"|"destroyed";typeSyncPendingCapacityState=|"hydrating"|"available"|"full"|"restore-error"|"destroyed";Whether the durable local queue can currently admit another transaction.API reference →;