Function ic_cdk::block_on

source ·
pub fn block_on<F: 'static + Future<Output = ()>>(future: F)
👎Deprecated since 0.3.4: Use the spawn() function instead, it does the same thing but is more appropriately named.
Expand description

See documentation for spawn.