feat(client): get_event_loop

This commit is contained in:
Nova
2022-06-11 23:49:00 -04:00
parent 5a54a1c40c
commit be46bdfc22

View File

@@ -29,6 +29,9 @@ impl<'a> Client<'a> {
self.messenger.dispatch(&self.scenegraph)
}
pub fn get_event_loop(&self) -> Arc<EventLoop> {
self.event_loop.upgrade().unwrap()
}
// pub fn get_messenger(&self) -> &Messenger<'a> {
// &self.messenger
// }