referrerpolicy=no-referrer-when-downgrade

Function substrate_cli_test_utils::run_with_timeout

source ·
pub async fn run_with_timeout(
    timeout: Duration,
    future: impl Future<Output = ()>,
)
Expand description

Run the given future and panic if the timeout is hit.