@mocanvas/sync · function

createBroadcastChannelTransport

declare function createBroadcastChannelTransport<R extends UnknownRecord = UnknownRecord>(roomId: string, options?: BroadcastChannelTransportOptions): Transport<R>

Same-origin tabs of one browser. There is no server, so every peer is equally authoritative and the channel is open as soon as it is created.

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.