pub fn assert_no_events_for(&mut self, duration: Duration) {
        self.runtime().block_on(async {
            tokio::select! {
                _ = tokio::time::sleep(duration) => (),
                event = self.work_journal_rx.recv() => panic!(
                    "received {:?} within {:?} when expecting no events",
                    event,
                    duration
                ),
            }
        })
    }
/// Assert that the `BeaconProcessor` doesn't produce any events in the given `duration`.
Assert that the `BeaconProcessor` doesn't produce any events in the given `duration`.
Assert that the ` BeaconProcessor ` doesn ' t produce any events in the given ` duration ` .
pub fn assert_no_events_for(&mut self, duration: Duration) {
        self.runtime().block_on(async {
            tokio::select! {
                _ = tokio::time::sleep(duration) => (),
                event = self.work_journal_rx.recv() => panic!(
                    "received {:?} within {:?} when expecting no events",
                    event,
                    duration
                ),
            }
        })
    }
pub fn assert_no_events_for ( & mut self , duration : Duration ) { self . runtime ( ) . block_on ( async { tokio :: select ! { tokio time sleep ( duration ) ( ) event self work_journal_rx recv ( ) panic ( " " event duration ) } } ) }
Assert that the `BeaconProcessor` doesn't produce any events in the given `duration`.
Assert that the ` BeaconProcessor ` doesn ' t produce any events in the given ` duration ` .
&mut self
duration
Duration