Closed evdokimovs closed 3 years ago
Implement State synchronization on reconnect (#167, #27, #47)
- add SynchronizeMe Command
- add StateSynchronized Event
- implement Client intentions send on RPC reconnect
Additionally:
- add FromIterator implementation for a ObservableHashMap in 'medea-reactive' crate
Implement state synchronization on reconnection (#167, #27, #47)
- add states for client and sever synchronization to 'medea-client-api-proto' crate
- add Event::StateSynchronized and Command::SynchronizeMe to 'medea-client-api-proto` crate
- implement state synchronization on reconnection in 'medea-jason' and 'medea' crates
Additionally:
- upgrade Firefox to 85.0 version for E2E tests
Part of #27, #47
Requires #164
Synopsis
We need to synchronize
Web Client
's State with aMedia Server
State on RPC connection restore.Solution
Command::SynchronizeMe
andEvent::StateSynchronized
Media Server
State on RPC connection restoreWeb Client
's State to the debug log onMedia Server
sideWeb Client
's intentions after State synchronizationChecklist
Draft:
prefixk::
labels appliedDraft:
prefix is removed