AsyncClient: Expose the logged_in method.
This commit is contained in:
parent
10b8d1a682
commit
68102cc196
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue