[][src]Trait yew::agent::Threaded

pub trait Threaded {
    fn register();
}

Implements rules to register a worker in a separate thread.

Required methods

fn register()

Executes an agent in the current environment. Uses in main function of a worker.

Loading content...

Implementors

impl<AGN> Threaded for AGN where
    AGN: Agent<Reach = Public<AGN>>,
    <AGN as Agent>::Input: Serialize + for<'de> Deserialize<'de>,
    <AGN as Agent>::Output: Serialize + for<'de> Deserialize<'de>, 
[src]

Loading content...