yjs / y-websocket

Websocket Connector for Yjs
https://docs.yjs.dev/ecosystem/connection-provider/y-websocket
MIT License
523 stars 261 forks source link

Make broadcast channel connection configurable #103

Closed ravipati2008 closed 2 years ago

ravipati2008 commented 2 years ago

Broadcast channel is not supported on all platforms(react native for example). So, it would be nice to have an option to disable broadcast channel connections.

Huly®: YJS-519

dmonad commented 2 years ago

Thanks @ravipati2008,

I added an option to disable BroadcastChannel disableBc: true.

This is released in y-websocket@1.4.3.