forkJoin4<A, B, C, D, T> static method
Merges the given Streams into a single Stream sequence by using the
combiner
function when all of the stream sequences emits their
last item.
Example
Rx.forkJoin4(
Stream.value('a'),
Stream.value('b'),
Stream.value('c'),
Stream.fromIterable(['d', 'e']),
(a, b, c, d) => a + b + c + d)
.listen(print); //prints 'abce'
Implementation
static Stream<T> forkJoin4<A, B, C, D, T>(
Stream<A> streamA,
Stream<B> streamB,
Stream<C> streamC,
Stream<D> streamD,
T Function(A a, B b, C c, D d) combiner) =>
ForkJoinStream.combine4(streamA, streamB, streamC, streamD, combiner);