Skip to main content

switch_map

Function switch_map 

Source
pub fn switch_map<TIn: Clone + 'static, TOut: 'static>(
    project: impl Fn(&TIn) -> Node<TOut> + 'static,
) -> Operator<TOut>
Expand description

switch_map: project each source DATA to an inner node, cancelling the prior live inner.