UseSyncDemoOptions

See source code
Table of contents
interface UseSyncDemoOptions {}

Properties

roomId

The room ID to sync with. Make sure the room ID is unique. The namespace is shared by everyone using the demo server. Consider prefixing it with your company or project name.

roomId: string;

users

optional

User store for identity, presence and attribution. If not provided, a default implementation based on localStorage will be used.

users?: TLUserStore;

Methods

getUserPresence

optional

Parameters

NameDescription

store

TLStore;

user

TLUser;

Returns


Prev
SynchronousStorage
Next
UseSyncOptionsBase