Skip to main content

map

Function map 

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

map: emit fn(value) for every upstream DATA occurrence.