Function sc_rpc::testing::timeout_secs

source ·
pub fn timeout_secs<I, F: Future<Output = I>>(s: u64, f: F) -> Timeout<F>
Expand description

Wrap a future in a timeout a little more concisely