yjs / y-websocket

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

[Feature Request]: Support emit peers #135

Closed Deuscx closed 1 year ago

Deuscx commented 1 year ago

Checklist

[x] Are you reporting a bug? Use github issues for bug reports and feature requests. For general questions, please use https://discuss.yjs.dev/ [ ] Try to report your issue in the correct repository. Yjs consists of many modules. When in doubt, report it to https://github.com/yjs/yjs/issues/

Describe the solution you'd like Is it able to support emit peers event like https://github.com/yjs/y-webrtc

Additional context Add any other context or screenshots about the feature request here.

image

Huly®: YJS-539

dmonad commented 1 year ago

Since y-websocket only connects to a server, the peers event would be the same as the connected event.

If you want to read who currently is in a room, you should use the awareness API.