add

Function add 

Source
pub fn add<T>(
    upstream1: &Rc<dyn Stream<T>>,
    upstream2: &Rc<dyn Stream<T>>,
) -> Rc<dyn Stream<T>>
where T: Element + Add<Output = T>,
Expand description

Returns a Stream that adds both it’s source Streams. Ticks when either of it’s sources ticks.