[−][src]Function suspend::iter_stream
pub fn iter_stream<'s, S>(stream: S) -> Iter<'s, S::Item>ⓘ where
S: Stream + Send + 's,
A convenience method to turn a Stream
into an Iterator
which parks the
current thread until items are available.