Events
Emit collab:state-request
Server -> the earliest joined other member: asks it to send its current annotation state to a late joiner (collab:state-response).
client → server on the
collab channel. Socket.IO event name: collab:state-request.Server -> the earliest joined other member: asks it to send its current annotation state to a late joiner (collab:state-response).
Emitted automatically when a socket joins a namespace with existing members, and again when a client retries by emitting collab:state-request itself.
Payload: collab:state-request
Payload of the 'collab:state-request' socket event.
| Property | Type | Required | Description |
|---|---|---|---|
requesterId | string | no | User ID of the late joiner. |
requesterSocketId | string | no | Socket ID to address the collab:state-response to. |
timestamp | integer | no |