Interface: RoomDiagnosticsState
@roomful/core / RoomDiagnosticsState
Interface: RoomDiagnosticsState
Section titled “Interface: RoomDiagnosticsState”Defined in: packages/core/src/types.ts:246
Captures shared-state diagnostics for a room.
Properties
Section titled “Properties”configured
Section titled “configured”configured:
boolean
Defined in: packages/core/src/types.ts:250
Indicates whether shared state has been configured.
offlineReplayInProgress
Section titled “offlineReplayInProgress”offlineReplayInProgress:
boolean
Defined in: packages/core/src/types.ts:270
Indicates whether queued offline state is currently replaying.
persistenceEnabled
Section titled “persistenceEnabled”persistenceEnabled:
boolean
Defined in: packages/core/src/types.ts:260
Indicates whether local persistence is enabled.
queuedMutationCount
Section titled “queuedMutationCount”queuedMutationCount:
number
Defined in: packages/core/src/types.ts:265
Counts queued offline state mutations.
stateSizeBytes
Section titled “stateSizeBytes”stateSizeBytes:
number|null
Defined in: packages/core/src/types.ts:275
Reports the serialized state size in bytes when available.
strategy
Section titled “strategy”strategy:
"lww"|"crdt"|"custom"|null
Defined in: packages/core/src/types.ts:255
Reports the active shared-state strategy, when configured.