import { ILayerZipWithPar } from "@effect/core/io/Layer/definition" /** * Combines this layer with the specified layer, producing a new layer that * has the inputs and outputs of both. * * @tsplus pipeable-operator effect/core/io/Layer + * @tsplus static effect/core/io/Layer.Aspects merge * @tsplus pipeable effect/core/io/Layer merge */ export function merge(that: Layer) { return (self: Layer): Layer => new ILayerZipWithPar(self, that, (a, b) => a.merge(b)) }