pump_until

Function pump_until 

Source
async fn pump_until<R: Radio>(
    ctl: &mut Ctl<'_, R>,
    deadline: Instant,
    done: impl FnMut() -> bool,
) -> Result<()>
where R::Error: Debug,
Expand description

Drive the host until done or the deadline, whichever comes first.