Skip to main content

combine5

Function combine5 

Source
pub fn combine5<A, B, C, D, E, F, U>(
    first: A,
    second: B,
    third: C,
    fourth: D,
    fifth: E,
    combiner: F,
) -> Combine5<A, B, C, D, E, F>
where A: Flow, B: Flow, C: Flow, D: Flow, E: Flow, F: Fn(&A::Item, &B::Item, &C::Item, &D::Item, &E::Item) -> U + Clone,
Expand description

Combines the latest values of five flows once each has emitted — Kotlin’s combine.