next_item

Function next_item 

Source
pub async fn next_item<T>(rx: &mut Receiver<T>, done: bool) -> Option<T>