@mocanvas/sync · interface

SyncClient

interface SyncClient

This one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.


Methods · 4

connect(): void
disconnect(): void
dispose(): void
getStatus(): Signal<SyncStatus>

A signal, so React and reactors can follow the connection.


Properties · 2

readonly clientId: string
readonly roomId: string

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.