import * as tsplus_module_1 from "@effect/core/stream/Channel/MergeStrategy";
import * as tsplus_module_2 from "@effect/core/stream/Channel/operations/mergeAllWith";
/**
 * @tsplus static ets/Channel/Ops mergeAll
 */

export function mergeAll_(channels, n, bufferSize = 16, mergeStrategy = tsplus_module_1.BackPressure) {
  return tsplus_module_2.mergeAllWith_(channels, n, () => undefined, bufferSize, mergeStrategy);
}
/**
 * @tsplus static ets/Channel/Aspects mergeAll
 */

export const mergeAll = (n, bufferSize = 16, mergeStrategy = MergeStrategy.BackPressure) => channels => mergeAll_(channels, n, bufferSize, mergeStrategy);
//# sourceMappingURL=mergeAll.mjs.map