Function holochain_types::prelude::tokio_helper::block_on[][src]

pub fn block_on<F>(
    f: F,
    timeout: Duration
) -> Result<<F as Future>::Output, Elapsed> where
    F: Future
Expand description

Run a blocking thread on TOKIO with a timeout.