Emitted when we connect to the server.
Emitted when we disconnect from the server.
This is also emitted if we fail to connect to the server.
The reason for the disconnection:
The WebSocket event, if cause is "close" or "error" (else null).
Emitted after doc loads the server's current state.
This may be emitted multiple times for a doc - in particular, after reconnecting.
Emitted after all of doc's local changes are confirmed saved to the server.
Emitted if we subscribe to a docID but the server denies us access.
Generated using TypeDoc
Events record for WebSocketNetwork.