cleanup server code + fix a lost update case (#191)

This commit is contained in:
Ferdinand Schober
2024-09-05 02:31:10 +02:00
committed by GitHub
parent 6cd190191e
commit 39fed0344c
5 changed files with 75 additions and 80 deletions

View File

@@ -166,6 +166,8 @@ pub struct ClientState {
#[derive(Debug, Clone, Serialize, Deserialize)]
pub enum FrontendEvent {
/// client state has changed, new state must be requested via [`FrontendRequest::GetState`]
Changed(ClientHandle),
/// a client was created
Created(ClientHandle, ClientConfig, ClientState),
/// no such client