/** * 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 zipFlatten * @tsplus pipeable effect/core/stream/Stream zipFlatten */ export function zipFlatten(that: Stream) { return >( self: Stream ): Stream => self.zipWith(that, (a, a2) => [...a, a2]) }