Function xtra::spawn_wasm_bindgen
source · pub fn spawn_wasm_bindgen<A>(
actor: A,
(address, mailbox): (Address<A>, Mailbox<A>)
) -> Address<A>
Available on crate feature
wasm_bindgen
only.Expand description
Spawns the given actor onto the thread-local runtime via wasm_bindgen_futures
, returning an Address
to it.