Function ockam_executor::time::timeout

source ·
pub fn timeout<F>(duration: Duration, future: F) -> Timeout<F> 
where F: Future,