Interface: StateChangeMeta
@roomful/core / StateChangeMeta
Interface: StateChangeMeta
Section titled “Interface: StateChangeMeta”Defined in: packages/core/src/types.ts:891
Describes metadata attached to a shared-state change.
Properties
Section titled “Properties”changedBy
Section titled “changedBy”changedBy:
string
Defined in: packages/core/src/types.ts:900
Identifies the peer that produced the latest applied change.
pending
Section titled “pending”pending:
boolean
Defined in: packages/core/src/types.ts:910
Indicates whether the value is waiting to sync remotely.
queuedMutationCount
Section titled “queuedMutationCount”queuedMutationCount:
number
Defined in: packages/core/src/types.ts:915
Counts queued offline mutations still waiting to replay.
reason
Section titled “reason”reason:
"set"|"patch"|"undo"|"reset"
Defined in: packages/core/src/types.ts:895
Identifies the mutation that produced the change.
timestamp
Section titled “timestamp”timestamp:
number
Defined in: packages/core/src/types.ts:905
Records when the latest applied change occurred.