Skip to main content

wait_for_height_with_interval

Function wait_for_height_with_interval 

Source
pub async fn wait_for_height_with_interval(
    context: &Context,
    scope: &impl MetricScope,
    target_height: u64,
    poll_interval: Duration,
)
Expand description

Polls at poll_interval until a metric scope reaches target_height.