pub trait RunAsync<'a> {
// Required method
fn run(&mut self, world: &'a World) -> BoxFuture<'a, ()>;
}
Expand description
Trait for fetching data and running systems with async/await. Automatically implemented for systems.
pub trait RunAsync<'a> {
// Required method
fn run(&mut self, world: &'a World) -> BoxFuture<'a, ()>;
}
Trait for fetching data and running systems with async/await. Automatically implemented for systems.