Skip to content

Commit 1f98f34

Browse files
committed
drop four progress
1 parent 290c2ef commit 1f98f34

File tree

6 files changed

+168
-388
lines changed

6 files changed

+168
-388
lines changed

aper-websocket-client/src/client.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,8 @@ where
8585

8686
conn.apply(intent)
8787
}
88+
89+
pub fn client_id(&self) -> Option<u32> {
90+
self.conn.lock().unwrap().client_id()
91+
}
8892
}

aper-yew/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,8 @@ impl<T: Aper> YewAperClient<T> {
5353
let _ = client.apply(intent);
5454
})
5555
}
56+
57+
pub fn client_id(&self) -> Option<u32> {
58+
self.client.client_id()
59+
}
5660
}

0 commit comments

Comments
 (0)