Skip to main content

scan

Function scan 

Source
pub fn scan<S: 'static, T: Clone + 'static>(
    reducer: impl Fn(T, &S) -> T + 'static,
    seed: T,
) -> Operator<T>
Expand description

scan: stateful accumulator, emitting each intermediate accumulator value.