Skip to content

SyncStateSnapshot@sheetwrite/core

On this page

Immutable observable synchronization state.

Members 7

connection
connection: SyncConnectionState;
activity
pendingCount Pending local commits, including synchronous pre-commit reservations.
pendingCount: number;
pendingOperations Aggregate DocumentOp count, including synchronous pre-commit reservations.
pendingOperations: number;
pendingEncodedBytes Aggregate UTF-8 bytes of pending JSON-encoded operation arrays.
pendingEncodedBytes: number;
pendingCapacity Current local transaction admission state.
pendingCapacity: SyncPendingCapacityState;
serverVersion Last accepted contiguous remote server version.
serverVersion: number;

Declaration

View full TypeScript declaration
export interface SyncStateSnapshot {
connection: SyncConnectionState;
activity: SyncActivityState;
pendingCount: number;
pendingOperations: number;
pendingEncodedBytes: number;
pendingCapacity: SyncPendingCapacityState;
serverVersion: number;
}

Referenced by

Workspace packages depending on @sheetwrite/core

  • @sheetwrite/benchdependency
  • @sheetwrite/docs-startdependency
  • @sheetwrite/reactdependency
  • @sheetwrite/sveltedependency
  • @sheetwrite/vuedependency
  • @sheetwrite/xlsxdependency

Public exports naming SyncStateSnapshot

Documentation