[][src]Module xtra::spawn

This module contains a trait to spawn actors, implemented for all major async runtimes by default.

Structs

AsyncStd

The async std runtime.

WasmBindgen

Spawn rust futures in WASM on the current thread in the background.

Enums

Smol

The smol runtime.

Tokio

The Tokio runtime.

Traits

Spawner

An Spawner represents anything that can spawn a future to be run in the background. This is used to spawn actors.