Trait gloo_worker::reactor::Reactor
source · pub trait Reactor: Future<Output = ()> {
type Scope: ReactorScoped;
// Required method
fn create(scope: Self::Scope) -> Self;
}
Expand description
A reactor worker.
Required Associated Types§
sourcetype Scope: ReactorScoped
type Scope: ReactorScoped
The Reactor Scope