Function xtra::spawn_smol
source · pub fn spawn_smol<A>(
actor: A,
(address, mailbox): (Address<A>, Mailbox<A>)
) -> Address<A>
Available on crate feature
smol
only.Expand description
Spawns the given actor into the smol runtime, returning an Address
to it.