Trait linera_sdk::util::BlockingWait
source · pub trait BlockingWait {
type Output;
// Required method
fn blocking_wait(self) -> Self::Output;
}
Expand description
An extension trait to block on a Future
until it completes.
Required Associated Types§
Required Methods§
sourcefn blocking_wait(self) -> Self::Output
fn blocking_wait(self) -> Self::Output
Waits for the Future
to complete in a blocking manner.
Effectively polls the Future
repeatedly until it returns Poll::Ready
.