pub trait Bridged: 'static + Worker + Sized {
fn bridge(
callback: Rc<dyn Fn(Self::Output) + 'static>
) -> Box<dyn Bridge<Self> + 'static, Global>;
}
Expand description
This trait allows registering or getting the address of a worker.