Render list of known rooms
This commit is contained in:
parent
6c26f62008
commit
e9e3b6e21c
3 changed files with 167 additions and 30 deletions
|
|
@ -273,6 +273,10 @@ impl Room {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn stopped(&self) -> bool {
|
||||
self.event_tx.is_closed()
|
||||
}
|
||||
|
||||
pub async fn status(&self) -> Result<Option<Status>, Error> {
|
||||
let (tx, rx) = oneshot::channel();
|
||||
self.event_tx
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue