You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can hocuspocus emit custom events? Like socketio. Currently, I have a requirement where user needs to set permissions for a document using an event called SET_FILE_PERMISSION, and then broadcast the document's permission list to other users in the room. Can I reuse the y-websocket connection for this or do I have to create a separate websocket connection to handle events other than document collaboration? Is y-websocket only used for collaboration purposes?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Can hocuspocus emit custom events? Like socketio. Currently, I have a requirement where user needs to set permissions for a document using an event called
SET_FILE_PERMISSION
, and then broadcast the document's permission list to other users in the room. Can I reuse the y-websocket connection for this or do I have to create a separate websocket connection to handle events other than document collaboration? Is y-websocket only used for collaboration purposes?Beta Was this translation helpful? Give feedback.
All reactions