import * as tsplus_module_1 from "@tsplus/stdlib/data/Function";
import * as tsplus_module_2 from "@effect/core/stream/Channel/operations/mapOut";
import * as tsplus_module_3 from "@effect/core/stream/Channel/operations/mergeAllWith";
/**
 * @tsplus fluent ets/Channel mergeOutWith
 */

export function mergeOutWith_(self, n, f) {
  return tsplus_module_3.mergeAllWith_(tsplus_module_2.mapOut_(self, tsplus_module_1.identity), n, f);
}
/**
 * @tsplus static ets/Channel/Aspects mergeOutWith
 */

export const mergeOutWith = (n, f) => self => mergeOutWith_(self, n, f);
//# sourceMappingURL=mergeOutWith.mjs.map