Function esp_idf_hal::task::block_on
source ยท pub fn block_on<F>(fut: F) -> F::Outputwhere
F: Future,
Expand description
Executes the supplied future on the current thread, thus blocking it until the future becomes ready.
pub fn block_on<F>(fut: F) -> F::Outputwhere
F: Future,
Executes the supplied future on the current thread, thus blocking it until the future becomes ready.