OptionalawarenessOptionalconnectDisable connect on construction; call connect() explicitly.
OptionaldisableDisable the BroadcastChannel intra-browser shortcut. When two tabs open the same room in the same browser, y-websocket normally syncs them via BroadcastChannel and never round-trips through the server. Set true to force every edit through the websocket — useful for demos / debugging server-side flows.
OptionalparamsExtra params appended to the connect URL.
OptionaltokenBearer token attached as ?token= for the server to validate.
OptionalWebCustom WebSocket implementation (e.g. ws in Node tests).
Awareness instance to share over the same transport.