pub fn pending<T>() -> Pending<T>
Creates a stream that is always pending.
use futures_lite::stream::{self, StreamExt}; let mut s = stream::pending::<i32>(); s.next().await; unreachable!();