fedimint_core::runtime::impl

Function timeout

Source
pub async fn timeout<T>(
    duration: Duration,
    future: T,
) -> Result<T::Output, Elapsed>
where T: Future,