Function esp_idf_svc::hal::task::block_on

source ยท
pub fn block_on<F>(fut: F) -> <F as Future>::Output
where F: Future,
Expand description

Executes the supplied future on the current thread, thus blocking it until the future becomes ready.