referrerpolicy=no-referrer-when-downgrade
substrate_cli_test_utils

Function 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.