Module xjbutil::async_utils[][src]

Expand description

Re-exports asynchronous structures from tokio, async-std, pollster and futures

Modules

A one-shot channel is used for sending a single message between asynchronous tasks. The channel function is used to create a Sender and Receiver handle pair that form the channel.

Asynchronous green-threads.

Structs

An asynchronous Mutex-like type.

A handle to a held Mutex. The guard can be held across any .await point as it is Send.

Functions

Just block on your Future

Creates a future which represents a collection of the outputs of the futures given.

Just sleep for a while

Yields execution back to the Tokio runtime.