yew_stdweb::agent

Trait Bridge

Source
pub trait Bridge<AGN: Agent> {
    // Required method
    fn send(&mut self, msg: AGN::Input);
}
Expand description

Bridge to a specific kind of worker.

Required Methods§

Source

fn send(&mut self, msg: AGN::Input)

Send a message to an agent.

Implementors§