pub fn empty<T>() -> Empty<T>
Creates an empty stream.
use futures_lite::stream::{self, StreamExt}; let mut s = stream::empty::<i32>(); assert_eq!(s.next().await, None);