pub fn wait(bell: &Receiver<()>, until: Option<Instant>)Expand description
Block until bell rings or until passes (None: until it rings).
Rings that piled up meanwhile are drained: their input is already
queued for the next pump. Keep a sender of bell alive, or a None
wait returns at once.