Skip to content

Function: createMemoryCommentsStorage()

@roomful/core


@roomful/core / createMemoryCommentsStorage

createMemoryCommentsStorage(seed?): CommentsStorageAdapter

Defined in: packages/core/src/engines/comments-storage.ts:37

An in-memory CommentsStorageAdapter — the reference implementation and a test double. Not durable across process restarts; use a real backend in production.

readonly CommentThread[] = []

Threads to preload (defaults to none).

CommentsStorageAdapter

A memory-backed storage adapter.