@mocanvas/sync · function

createPresenceSync

declare function createPresenceSync(options: PresenceSyncOptions): PresenceSync

Watches the editor and pushes the local presence record out, at most once per throttle window, plus a heartbeat so that idle collaborators do not time out.

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.