[−][src]Module bastion::executor
A module that exposes the functions used under the hoods from bastions macros: spawn!, run!
and blocking!.
Structs
| ProcStack | Stack abstraction for lightweight processes |
Functions
| blocking | Spawns a blocking task, which will run on the blocking thread pool, and returns the handle. |
| run | Block the current thread until passed future is resolved with an output (including the panic). |
| spawn | Spawn a given future onto the executor from the global level. |