Function ockam_core::compat::future::poll_once
source · pub fn poll_once<'a, F, T>(future: F) -> Result<T>
Expand description
Polls a future just once and returns the Result
This is only used for some tests and it is hoped that we can
remove it if, at some point, this makes it into core::future