Skip to main content

stream_recv

Function stream_recv 

Source
pub async fn stream_recv<S>(stream: &mut S) -> Option<S::Item>
where S: Stream + Unpin,
Expand description

Waits for and returns the next item from a stream.