Skip to main content

on_first_data

Function on_first_data 

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

on_first_data: run a side-effect exactly once, then pass all values through.