AsyncClient: Expose the logged_in method.

master
Damir Jelić 2019-11-17 19:55:27 +01:00
parent 10b8d1a682
commit 68102cc196
1 changed files with 4 additions and 0 deletions

View File

@ -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,