Skip to content
Roomful is in public beta — install with the @beta tag. Share feedback →

Interface: StateChangeMeta

@roomful/core


@roomful/core / StateChangeMeta

Defined in: packages/core/src/types.ts:891

Describes metadata attached to a shared-state change.

changedBy: string

Defined in: packages/core/src/types.ts:900

Identifies the peer that produced the latest applied change.


pending: boolean

Defined in: packages/core/src/types.ts:910

Indicates whether the value is waiting to sync remotely.


queuedMutationCount: number

Defined in: packages/core/src/types.ts:915

Counts queued offline mutations still waiting to replay.


reason: "set" | "patch" | "undo" | "reset"

Defined in: packages/core/src/types.ts:895

Identifies the mutation that produced the change.


timestamp: number

Defined in: packages/core/src/types.ts:905

Records when the latest applied change occurred.