Trait rt_local::base::RuntimeLoop
source · [−]pub trait RuntimeLoop {
fn waker(&self) -> Arc<dyn RuntimeWaker + 'static>;
fn run<T>(&self, on_step: impl FnMut() -> ControlFlow<T, ()>) -> T;
}pub trait RuntimeLoop {
fn waker(&self) -> Arc<dyn RuntimeWaker + 'static>;
fn run<T>(&self, on_step: impl FnMut() -> ControlFlow<T, ()>) -> T;
}