Skip to main content

check_empty_read_yields_none

Function check_empty_read_yields_none 

Source
pub async fn check_empty_read_yields_none<S, C, F, Fut>(factory: &F)
where S: RawEventStore + WakeSource, C: Send, F: Fn() -> Fut + Send + Sync, Fut: Future<Output = (S, C)> + Send,
Expand description

A fresh, empty stream reads back empty (absent stream = empty, not error).