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