AsyncClient: Expose the logged_in method.
parent
10b8d1a682
commit
68102cc196
|
@ -188,6 +188,10 @@ impl AsyncClient {
|
|||
})
|
||||
}
|
||||
|
||||
pub fn logged_in(&self) -> bool {
|
||||
self.base_client.read().unwrap().logged_in()
|
||||
}
|
||||
|
||||
// pub fn add_event_callback(
|
||||
// &mut self,
|
||||
// event_type: EventType,
|
||||
|
|
Loading…
Reference in New Issue