[][src]Crate pollster

A minimal async executor that lets you block on a future

Example

let my_future = async {};
let result = pollster::block_on(my_future);

Functions

block_on

Block the thread until the future is ready.