Trait gloo_worker::Bridged[][src]

pub trait Bridged: Worker + Sized + 'static {
    fn bridge(callback: Callback<Self::Output>) -> Box<dyn Bridge<Self>>;
}
Expand description

This trait allows registering or getting the address of a worker.

Required methods

Creates a messaging bridge between a worker and the component.

Implementors