import * as tsplus_module_1 from "@tsplus/stdlib/data/Tuple/make";
import * as tsplus_module_2 from "@effect/core/stream/Stream/operations/zipWith";
/**
 * 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 fluent ets/Stream zip
 */

export function zip_(self, that, __tsplusTrace) {
  return tsplus_module_2.zipWith_(self, that, (a, a2) => tsplus_module_1.make(a, a2), __tsplusTrace);
}
/**
 * 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 ets/Stream/Aspects zip
 */

export const zip = (that, __tsplusTrace) => self => zip_(self, that, __tsplusTrace);
//# sourceMappingURL=zip.mjs.map