Function xtra::spawn_async_std

source ·
pub fn spawn_async_std<A>(
    actor: A,
    (address, mailbox): (Address<A>, Mailbox<A>)
) -> Address<A>
where A: Actor<Stop = ()>,
Available on crate feature async_std only.
Expand description

Spawns the given actor into the async_std runtime, returning an Address to it.