Function async_test_helpers::expect_stream_item
source · pub fn expect_stream_item<S: Stream + Unpin>(
exec: &mut TestExecutor,
stream: &mut S
) -> S::Item
Expand description
Polls the provided stream
and expects a non-null item to be produced.