Handle idle time between fetch results #212
@ -89,7 +89,7 @@ impl EventReceiver {
|
||||
Ok(self.receiver.recv()?)
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[cfg(test)]
|
||||
pub fn try_recv(&self) -> Result<Event, EventError> {
|
||||
Ok(self.receiver.try_recv()?)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user