Function lf_gfx::block_on

source ·
pub fn block_on(future: impl Future<Output = ()> + 'static)
Expand description

Provides semi-equivalent functionality to pollster::block_on, but without crashing on the web.