[][src]Trait wasi_worker_yew::ThreadedWASI

pub trait ThreadedWASI {
    fn run(&self) -> Result<()>;
}

Implements rules to register a worker in a separate thread.

Required methods

fn run(&self) -> Result<()>

Creates Agent Scope, initialized AgentLink It will also create ServiceWorker and return it's instance ServiceWorker should be used by context to pass messages via on_message

Loading content...

Implementors

impl<T: Agent<Reach = Public>> ThreadedWASI for WASIAgent<T>[src]

Loading content...