/** * Zips this stream with another point-wise, creating a new stream of pairs of * elements from both sides. * * The defaults `defaultLeft` and `defaultRight` will be used if the streams * have different lengths and one of the streams has ended before the other. * * @tsplus static effect/core/stream/Stream.Aspects zipAll * @tsplus pipeable effect/core/stream/Stream zipAll */ export function zipAll( that: Stream, defaultLeft: A, defaultRight: A2 ) { return (self: Stream): Stream => self.zipAllWith( that, (a) => [a, defaultRight], (a2) => [defaultLeft, a2], (a, a2) => [a, a2] ) }