A, B, C, T> method
Merges the specified streams into one stream sequence using the given zipper function whenever all of the stream sequences have produced an element at a corresponding index.
It applies this function in strict sequence, so the first item emitted by the new Stream will be the result of the function applied to the first item emitted by Stream #1 and the first item emitted by Stream #2; the second item emitted by the new ZipStream will be the result of the function applied to the second item emitted by Stream #1 and the second item emitted by Stream #2; and so forth. It will only emit as many items as the number of items emitted by the source Stream that emits the fewest items.
Rx.zip3( Stream.value('a'), Stream.value('b'), Stream.fromIterable(['c', 'dropped']), (a, b, c) => a + b + c) .listen(print); //prints 'abc'
static Stream<T> zip3<A, B, C, T>(Stream<A> streamA, Stream<B> streamB, Stream<C> streamC, T Function(A a, B b, C c) zipper) => ZipStream.zip3(streamA, streamB, streamC, zipper);