Skip to main content

tap

Function tap 

Source
pub fn tap<S: Clone + 'static>(f: impl Fn(&S) + 'static) -> Operator<S>
Expand description

tap: run a side-effect for each DATA occurrence and pass values through unchanged.