/** * Zips this stream with another point-wise and emits tuples of elements from * both streams. * * The new stream will end when one of the sides ends. * * @tsplus static effect/core/stream/Stream.Aspects zip * @tsplus pipeable effect/core/stream/Stream zip */ export function zip(that: Stream) { return (self: Stream): Stream => self.zipWith(that, (a, a2) => [a, a2]) }