Skip to main content

wait_for_estart

Function wait_for_estart 

Source
pub async fn wait_for_estart<T>(
    ch: &mut EstartChannels<T>,
    on_extend: impl FnMut(),
) -> EstartWait<T>
Expand description

Wait for srv to be ready, fail, or run out of time. on_extend runs when a MIGRATING line pushes the deadline out, for the caller’s log line. The caller kills srv on every outcome but Ready(Some(_)).