use futures_core::stream::Stream;
pub use crate::interleave_pending::InterleavePending;
pub trait StreamTestExt: Stream {
fn interleave_pending(self) -> InterleavePending<Self>
where
Self: Sized,
{
InterleavePending::new(self)
}
}
impl<St> StreamTestExt for St where St: Stream {}