[][src]Crate pollster

A minimal async executor that lets you block on a future

Example

This example is not tested
let result = pollster::block_on(my_future);

Functions

block_on

Block until the the future is ready.