combine4<T1, T2, T3, T4> function

Stream<(T1, T2, T3, T4)> combine4<T1, T2, T3, T4>(
  1. Stream<T1> streamA,
  2. Stream<T2> streamB,
  3. Stream<T3> streamC,
  4. Stream<T4> streamD,
)

Implementation

Stream<(T1, T2, T3, T4)> combine4<T1, T2, T3, T4>(
  Stream<T1> streamA,
  Stream<T2> streamB,
  Stream<T3> streamC,
  Stream<T4> streamD,
) {
  return Rx.combineLatest4(
    streamA,
    streamB,
    streamC,
    streamD,
    (a, b, c, d) => (a, b, c, d),
  );
}