3 ms·
How does the y-websocket handles network failure ? Does it autoreconnet? On reconnection, does it sync back changes that happened on or since failure ? Can yo
by BiteCode_dev 5y ago
How does the y-websocket handles network failure ?
Does it autoreconnet? On reconnection, does it sync back changes that happened on or since failure ? Can you notify the user when it's happening ?
- kevinjahns 5y agoYjs author here. On network failure, the client will automatically reconnect and synchronize with the backend. And yes, you can get an event that notifies you about the current connection status. When syncing with the server, you will only exchange the differences that were created while offline.
- BiteCode_dev 5y agoThank you, that's an awesome answer in so many ways.