logo

Module bastion::executor[][src]

Expand description

A module that exposes the functions used under the hoods from bastions macros: spawn!, run! and blocking!.

Structs

Stack abstraction for lightweight processes

Functions

Spawns a blocking task, which will run on the blocking thread pool, and returns the handle.

Block the current thread until passed future is resolved with an output (including the panic).

Spawn a given future onto the executor from the global level.