Trait yew::agent::Bridged[][src]

pub trait Bridged: Agent + 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

fn bridge(callback: Callback<Self::Output>) -> Box<dyn Bridge<Self>>[src]

Expand description

Creates a messaging bridge between a worker and the component.

Loading content...

Implementors

impl<T> Bridged for T where
    T: Agent,
    <T as Agent>::Reach: Discoverer<Agent = T>, 
[src]

fn bridge(callback: Callback<Self::Output>) -> Box<dyn Bridge<Self>>[src]

Loading content...