Skip to content

Interface: HistoryOptions

@roomful/core


@roomful/core / HistoryOptions

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

Configures the collaborative history engine.

optional captureInterval: number

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

Debounces rapid captures: mutations applied within this many milliseconds of the previous one are merged into a single undoable entry. Defaults to 500.


optional maxEntries: number

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

Caps how many timeline entries are retained per peer (and bounds the local undo stack). Older entries beyond the cap are trimmed. Defaults to 100.