Constructs a layer from an effectual resource.
Constructs a layerfrom a managed resource.
Gathers up the ZLayer inside of the given collection, and combines them into a single ZLayer containing an equivalent collection of results.
Constructs a layer that dies with the specified throwable.
Constructs a layer that passes along the specified environment as an output.
Constructs a layer that fails with the specified error.
Constructs a layer that fails with the specified cause.
Applies the function f
to each element of the Collection[A]
and returns
the results in a new Collection[B]
.
Constructs a layer from acquire and release actions.
Constructs a layer from acquire and release actions. The acquire and release actions will be performed uninterruptibly.
Constructs a layer from acquire and release actions, which must return one or more services.
Constructs a layer from acquire and release actions, which must return one or more services. The acquire and release actions will be performed uninterruptibly.
Constructs a layer from the environment using the specified function.
Constructs a layer from the environment using the specified function, which must return one or more services.
Constructs a layer from the environment using the specified effectful resourceful function, which must return one or more services.
Constructs a layer from the environment using the specified effectful function, which must return one or more services.
Constructs a layer from the environment using the specified effectful resourceful function.
Constructs a layer from the environment using the specified effectful function.
Constructs a layer from a managed resource.
Constructs a layer from a managed resource, which must return one or more services.
Constructs a layer from the specified effect.
Constructs a layer from the specified effect, which must return one or more services.
Constructs a layer that accesses and returns the specified service from the environment.
Constructs a layer from the specified value.
Constructs a layer from the specified value, which must return one or more services.
Lazily constructs a layer.
Lazily constructs a layer. This is useful to avoid infinite recursion when creating layers that refer to themselves.
Automatically assembles a layer for the provided type.
Automatically assembles a layer for the provided type.
ZLayer.wire[Car](carLayer, wheelsLayer, engineLayer)
Automatically constructs a layer for the provided type R
, leaving a
remainder ZEnv
.
Automatically constructs a layer for the provided type R
, leaving a
remainder ZEnv
. This will satisfy all transitive ZEnv
requirements with
ZEnv.any
, allowing them to be provided later.
val oldLadyLayer: ZLayer[Fly, Nothing, OldLady] = ??? val flyLayer: ZLayer[Blocking, Nothing, Fly] = ??? // The ZEnv you use later will provide both Blocking to flyLayer and Console to zio val layer : ZLayer[ZEnv, Nothing, OldLady] = ZLayer.wireCustom[OldLady](oldLadyLayer, flyLayer)
Automatically constructs a layer for the provided type R
, leaving a
remainder R0
.
Automatically constructs a layer for the provided type R
, leaving a
remainder R0
.
val carLayer: ZLayer[Engine with Wheels, Nothing, Car] = ??? val wheelsLayer: ZLayer[Any, Nothing, Wheels] = ??? val layer = ZLayer.wireSome[Engine, Car](carLayer, wheelsLayer)
Constructs a layer from acquire and release actions, which must return one or more services.
Constructs a layer from acquire and release actions, which must return one or more services. The acquire and release actions will be performed uninterruptibly.
(Since version 2.0.0) use fromAcquireReleaseEnvironment
Constructs a layer from the specified effect.
Constructs a layer from the specified effect.
(Since version 2.0.0) use fromZIO
Constructs a layer from the specified effect, which must return one or more services.
Constructs a layer from the specified effect, which must return one or more services.
(Since version 2.0.0) use fromZIOMany
Constructs a layer from the environment using the specified effectful function.
Constructs a layer from the environment using the specified effectful function.
(Since version 2.0.0) use fromFunctionZIO
Constructs a layer from the environment using the specified function, which must return one or more services.
Constructs a layer from the environment using the specified function, which must return one or more services.
(Since version 2.0.0) use fromFunctionEnvironment
Constructs a layer from the environment using the specified effectful function, which must return one or more services.
Constructs a layer from the environment using the specified effectful function, which must return one or more services.
(Since version 2.0.0) use fromFunctionManyZIO
Constructs a layer from the environment using the specified effectful resourceful function, which must return one or more services.
Constructs a layer from the environment using the specified effectful resourceful function, which must return one or more services.
(Since version 2.0.0) use fromFunctionEnvironmentManaged
Constructs a layer from the environment using the specified effectful function, which must return one or more services.
Constructs a layer from the environment using the specified effectful function, which must return one or more services.
(Since version 2.0.0) use fromFunctionEnvironmentZIO
Constructs a layer from a managed resource, which must return one or more services.
Constructs a layer from a managed resource, which must return one or more services.
(Since version 2.0.0) use fromManagedEnvironment
Constructs a layer that purely depends on the specified service.
Constructs a layer that purely depends on the specified service.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified service.
Constructs a layer that effectfully depends on the specified service.
(Since version 2.0.0) use toLayer
Constructs a set of services that resourcefully and effectfully depends on the specified service.
Constructs a set of services that resourcefully and effectfully depends on the specified service.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified service, which must return one or more services.
Constructs a layer that purely depends on the specified service, which must
return one or more services. For the more common variant that returns a
single service see fromService
.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified service, which must return one or more services.
Constructs a layer that effectfully depends on the specified service, which
must return one or more services. For the more common variant that returns
a single service see fromServiceM
.
(Since version 2.0.0) use toLayer
Constructs a layer that resourcefully and effectfully depends on the specified service, which must return one or more services.
Constructs a layer that resourcefully and effectfully depends on the
specified service, which must return one or more services. For the more
common variant that returns a single service see fromServiceManaged
.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services.
Constructs a layer that purely depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services.
Constructs a layer that purely depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services.
Constructs a layer that purely depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services.
Constructs a layer that purely depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services.
Constructs a layer that purely depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services.
Constructs a layer that purely depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services.
Constructs a layer that purely depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services.
Constructs a layer that purely depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services.
Constructs a layer that purely depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services.
Constructs a layer that purely depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services.
Constructs a layer that purely depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services.
Constructs a layer that purely depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services.
Constructs a layer that purely depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services.
Constructs a layer that purely depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services.
Constructs a layer that purely depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services.
Constructs a layer that purely depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services.
Constructs a layer that purely depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services.
Constructs a layer that purely depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services.
Constructs a layer that purely depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services.
Constructs a layer that purely depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services.
Constructs a layer that purely depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services.
Constructs a layer that effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services.
Constructs a layer that effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services.
Constructs a layer that effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services.
Constructs a layer that effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services.
Constructs a layer that effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services.
Constructs a layer that effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services.
Constructs a layer that effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services.
Constructs a layer that effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services.
Constructs a layer that effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services.
Constructs a layer that effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services.
Constructs a layer that effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services.
Constructs a layer that effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services.
Constructs a layer that effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services.
Constructs a layer that effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services.
Constructs a layer that effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services.
Constructs a layer that effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services.
Constructs a layer that effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services.
Constructs a layer that effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services.
Constructs a layer that effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services.
Constructs a layer that effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services.
Constructs a layer that effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a set of services that resourcefully and effectfully depends on the specified service.
Constructs a set of services that resourcefully and effectfully depends on the specified service.
(Since version 2.0.0) use toLayer
Constructs a set of services that resourcefully and effectfully depends on the specified service.
Constructs a set of services that resourcefully and effectfully depends on the specified service.
(Since version 2.0.0) use toLayer
Constructs a set of services that resourcefully and effectfully depends on the specified service.
Constructs a set of services that resourcefully and effectfully depends on the specified service.
(Since version 2.0.0) use toLayer
Constructs a set of services that resourcefully and effectfully depends on the specified services.
Constructs a set of services that resourcefully and effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a set of services that resourcefully and effectfully depends on the specified services.
Constructs a set of services that resourcefully and effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a set of services that resourcefully and effectfully depends on the specified services.
Constructs a set of services that resourcefully and effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a set of services that resourcefully and effectfully depends on the specified services.
Constructs a set of services that resourcefully and effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a set of services that resourcefully and effectfully depends on the specified services.
Constructs a set of services that resourcefully and effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a set of services that resourcefully and effectfully depends on the specified services.
Constructs a set of services that resourcefully and effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a set of services that resourcefully and effectfully depends on the specified services.
Constructs a set of services that resourcefully and effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a set of services that resourcefully and effectfully depends on the specified services.
Constructs a set of services that resourcefully and effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a set of services that resourcefully and effectfully depends on the specified services.
Constructs a set of services that resourcefully and effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a set of services that resourcefully and effectfully depends on the specified services.
Constructs a set of services that resourcefully and effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a set of services that resourcefully and effectfully depends on the specified services.
Constructs a set of services that resourcefully and effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a set of services that resourcefully and effectfully depends on the specified services.
Constructs a set of services that resourcefully and effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a set of services that resourcefully and effectfully depends on the specified services.
Constructs a set of services that resourcefully and effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a set of services that resourcefully and effectfully depends on the specified services.
Constructs a set of services that resourcefully and effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a set of services that resourcefully and effectfully depends on the specified services.
Constructs a set of services that resourcefully and effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a set of services that resourcefully and effectfully depends on the specified services.
Constructs a set of services that resourcefully and effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a set of services that resourcefully and effectfully depends on the specified services.
Constructs a set of services that resourcefully and effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a set of services that resourcefully and effectfully depends on the specified services.
Constructs a set of services that resourcefully and effectfully depends on the specified services.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services, which must return one or more services.
Constructs a layer that purely depends on the specified services, which
must return one or more services. For the more common variant that returns
a single service see fromService
.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services, which must return one or more services.
Constructs a layer that purely depends on the specified services, which
must return one or more services. For the more common variant that returns
a single service see fromService
.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services, which must return one or more services.
Constructs a layer that purely depends on the specified services, which
must return one or more services. For the more common variant that returns
a single service see fromService
.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services, which must return one or more services.
Constructs a layer that purely depends on the specified services, which
must return one or more services. For the more common variant that returns
a single service see fromService
.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services, which must return one or more services.
Constructs a layer that purely depends on the specified services, which
must return one or more services. For the more common variant that returns
a single service see fromService
.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services, which must return one or more services.
Constructs a layer that purely depends on the specified services, which
must return one or more services. For the more common variant that returns
a single service see fromService
.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services, which must return one or more services.
Constructs a layer that purely depends on the specified services, which
must return one or more services. For the more common variant that returns
a single service see fromService
.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services, which must return one or more services.
Constructs a layer that purely depends on the specified services, which
must return one or more services. For the more common variant that returns
a single service see fromService
.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services, which must return one or more services.
Constructs a layer that purely depends on the specified services, which
must return one or more services. For the more common variant that returns
a single service see fromService
.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services, which must return one or more services.
Constructs a layer that purely depends on the specified services, which
must return one or more services. For the more common variant that returns
a single service see fromService
.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services, which must return one or more services.
Constructs a layer that purely depends on the specified services, which
must return one or more services. For the more common variant that returns
a single service see fromService
.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services, which must return one or more services.
Constructs a layer that purely depends on the specified services, which
must return one or more services. For the more common variant that returns
a single service see fromService
.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services, which must return one or more services.
Constructs a layer that purely depends on the specified services, which
must return one or more services. For the more common variant that returns
a single service see fromService
.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services, which must return one or more services.
Constructs a layer that purely depends on the specified services, which
must return one or more services. For the more common variant that returns
a single service see fromService
.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services, which must return one or more services.
Constructs a layer that purely depends on the specified services, which
must return one or more services. For the more common variant that returns
a single service see fromService
.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services, which must return one or more services.
Constructs a layer that purely depends on the specified services, which
must return one or more services. For the more common variant that returns
a single service see fromService
.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services, which must return one or more services.
Constructs a layer that purely depends on the specified services, which
must return one or more services. For the more common variant that returns
a single service see fromService
.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services, which must return one or more services.
Constructs a layer that purely depends on the specified services, which
must return one or more services. For the more common variant that returns
a single service see fromService
.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services, which must return one or more services.
Constructs a layer that purely depends on the specified services, which
must return one or more services. For the more common variant that returns
a single service see fromService
.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services, which must return one or more services.
Constructs a layer that purely depends on the specified services, which
must return one or more services. For the more common variant that returns
a single service see fromService
.
(Since version 2.0.0) use toLayer
Constructs a layer that purely depends on the specified services, which must return one or more services.
Constructs a layer that purely depends on the specified services, which
must return one or more services. For the more common variant that returns
a single service see fromService
.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services, which must return one or more services.
Constructs a layer that effectfully depends on the specified services,
which must return one or more services. For the more common variant that
returns a single service see fromServiceM
.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services, which must return one or more services.
Constructs a layer that effectfully depends on the specified services,
which must return one or more services. For the more common variant that
returns a single service see fromServiceM
.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services, which must return one or more services.
Constructs a layer that effectfully depends on the specified services,
which must return one or more services. For the more common variant that
returns a single service see fromServiceM
.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services, which must return one or more services.
Constructs a layer that effectfully depends on the specified services,
which must return one or more services. For the more common variant that
returns a single service see fromServiceM
.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services, which must return one or more services.
Constructs a layer that effectfully depends on the specified services,
which must return one or more services. For the more common variant that
returns a single service see fromServiceM
.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services, which must return one or more services.
Constructs a layer that effectfully depends on the specified services,
which must return one or more services. For the more common variant that
returns a single service see fromServiceM
.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services, which must return one or more services.
Constructs a layer that effectfully depends on the specified services,
which must return one or more services. For the more common variant that
returns a single service see fromServiceM
.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services, which must return one or more services.
Constructs a layer that effectfully depends on the specified services,
which must return one or more services. For the more common variant that
returns a single service see fromServiceM
.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services, which must return one or more services.
Constructs a layer that effectfully depends on the specified services,
which must return one or more services. For the more common variant that
returns a single service see fromServiceM
.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services, which must return one or more services.
Constructs a layer that effectfully depends on the specified services,
which must return one or more services. For the more common variant that
returns a single service see fromServiceM
.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services, which must return one or more services.
Constructs a layer that effectfully depends on the specified services,
which must return one or more services. For the more common variant that
returns a single service see fromServiceM
.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services, which must return one or more services.
Constructs a layer that effectfully depends on the specified services,
which must return one or more services. For the more common variant that
returns a single service see fromServiceM
.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services, which must return one or more services.
Constructs a layer that effectfully depends on the specified services,
which must return one or more services. For the more common variant that
returns a single service see fromServiceM
.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services, which must return one or more services.
Constructs a layer that effectfully depends on the specified services,
which must return one or more services. For the more common variant that
returns a single service see fromServiceM
.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services, which must return one or more services.
Constructs a layer that effectfully depends on the specified services,
which must return one or more services. For the more common variant that
returns a single service see fromServiceM
.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services, which must return one or more services.
Constructs a layer that effectfully depends on the specified services,
which must return one or more services. For the more common variant that
returns a single service see fromServiceM
.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services, which must return one or more services.
Constructs a layer that effectfully depends on the specified services,
which must return one or more services. For the more common variant that
returns a single service see fromServiceM
.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services, which must return one or more services.
Constructs a layer that effectfully depends on the specified services,
which must return one or more services. For the more common variant that
returns a single service see fromServiceM
.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services, which must return one or more services.
Constructs a layer that effectfully depends on the specified services,
which must return one or more services. For the more common variant that
returns a single service see fromServiceM
.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services, which must return one or more services.
Constructs a layer that effectfully depends on the specified services,
which must return one or more services. For the more common variant that
returns a single service see fromServiceM
.
(Since version 2.0.0) use toLayer
Constructs a layer that effectfully depends on the specified services, which must return one or more services.
Constructs a layer that effectfully depends on the specified services,
which must return one or more services. For the more common variant that
returns a single service see fromServiceM
.
(Since version 2.0.0) use toLayer
Constructs a layer that resourcefully and effectfully depends on the specified services, which must return one or more services.
Constructs a layer that resourcefully and effectfully depends on the
specified services, which must return one or more services. For the more
common variant that returns a single service see fromServiceManaged
.
(Since version 2.0.0) use toLayer
Constructs a layer that resourcefully and effectfully depends on the specified services, which must return one or more services.
Constructs a layer that resourcefully and effectfully depends on the
specified services, which must return one or more services. For the more
common variant that returns a single service see fromServiceManaged
.
(Since version 2.0.0) use toLayer
Constructs a layer that resourcefully and effectfully depends on the specified services, which must return one or more services.
Constructs a layer that resourcefully and effectfully depends on the
specified services, which must return one or more services. For the more
common variant that returns a single service see fromServiceManaged
.
(Since version 2.0.0) use toLayer
Constructs a layer that resourcefully and effectfully depends on the specified services, which must return one or more services.
Constructs a layer that resourcefully and effectfully depends on the
specified services, which must return one or more services. For the more
common variant that returns a single service see fromServiceManaged
.
(Since version 2.0.0) use toLayer
Constructs a layer that resourcefully and effectfully depends on the specified services, which must return one or more services.
Constructs a layer that resourcefully and effectfully depends on the
specified services, which must return one or more services. For the more
common variant that returns a single service see fromServiceManaged
.
(Since version 2.0.0) use toLayer
Constructs a layer that resourcefully and effectfully depends on the specified services, which must return one or more services.
Constructs a layer that resourcefully and effectfully depends on the
specified services, which must return one or more services. For the more
common variant that returns a single service see fromServiceManaged
.
(Since version 2.0.0) use toLayer
Constructs a layer that resourcefully and effectfully depends on the specified services, which must return one or more services.
Constructs a layer that resourcefully and effectfully depends on the
specified services, which must return one or more services. For the more
common variant that returns a single service see fromServiceManaged
.
(Since version 2.0.0) use toLayer
Constructs a layer that resourcefully and effectfully depends on the specified services, which must return one or more services.
Constructs a layer that resourcefully and effectfully depends on the
specified services, which must return one or more services. For the more
common variant that returns a single service see fromServiceManaged
.
(Since version 2.0.0) use toLayer
Constructs a layer that resourcefully and effectfully depends on the specified services, which must return one or more services.
Constructs a layer that resourcefully and effectfully depends on the
specified services, which must return one or more services. For the more
common variant that returns a single service see fromServiceManaged
.
(Since version 2.0.0) use toLayer
Constructs a layer that resourcefully and effectfully depends on the specified services, which must return one or more services.
Constructs a layer that resourcefully and effectfully depends on the
specified services, which must return one or more services. For the more
common variant that returns a single service see fromServiceManaged
.
(Since version 2.0.0) use toLayer
Constructs a layer that resourcefully and effectfully depends on the specified services, which must return one or more services.
Constructs a layer that resourcefully and effectfully depends on the
specified services, which must return one or more services. For the more
common variant that returns a single service see fromServiceManaged
.
(Since version 2.0.0) use toLayer
Constructs a layer that resourcefully and effectfully depends on the specified services, which must return one or more services.
Constructs a layer that resourcefully and effectfully depends on the
specified services, which must return one or more services. For the more
common variant that returns a single service see fromServiceManaged
.
(Since version 2.0.0) use toLayer
Constructs a layer that resourcefully and effectfully depends on the specified services, which must return one or more services.
Constructs a layer that resourcefully and effectfully depends on the
specified services, which must return one or more services. For the more
common variant that returns a single service see fromServiceManaged
.
(Since version 2.0.0) use toLayer
Constructs a layer that resourcefully and effectfully depends on the specified services, which must return one or more services.
Constructs a layer that resourcefully and effectfully depends on the
specified services, which must return one or more services. For the more
common variant that returns a single service see fromServiceManaged
.
(Since version 2.0.0) use toLayer
Constructs a layer that resourcefully and effectfully depends on the specified services, which must return one or more services.
Constructs a layer that resourcefully and effectfully depends on the
specified services, which must return one or more services. For the more
common variant that returns a single service see fromServiceManaged
.
(Since version 2.0.0) use toLayer
Constructs a layer that resourcefully and effectfully depends on the specified services, which must return one or more services.
Constructs a layer that resourcefully and effectfully depends on the
specified services, which must return one or more services. For the more
common variant that returns a single service see fromServiceManaged
.
(Since version 2.0.0) use toLayer
Constructs a layer that resourcefully and effectfully depends on the specified services, which must return one or more services.
Constructs a layer that resourcefully and effectfully depends on the
specified services, which must return one or more services. For the more
common variant that returns a single service see fromServiceManaged
.
(Since version 2.0.0) use toLayer
Constructs a layer that resourcefully and effectfully depends on the specified services, which must return one or more services.
Constructs a layer that resourcefully and effectfully depends on the
specified services, which must return one or more services. For the more
common variant that returns a single service see fromServiceManaged
.
(Since version 2.0.0) use toLayer
Constructs a layer that resourcefully and effectfully depends on the specified services, which must return one or more services.
Constructs a layer that resourcefully and effectfully depends on the
specified services, which must return one or more services. For the more
common variant that returns a single service see fromServiceManaged
.
(Since version 2.0.0) use toLayer
Constructs a layer that resourcefully and effectfully depends on the specified services, which must return one or more services.
Constructs a layer that resourcefully and effectfully depends on the
specified services, which must return one or more services. For the more
common variant that returns a single service see fromServiceManaged
.
(Since version 2.0.0) use toLayer
Constructs a layer that resourcefully and effectfully depends on the specified services, which must return one or more services.
Constructs a layer that resourcefully and effectfully depends on the
specified services, which must return one or more services. For the more
common variant that returns a single service see fromServiceManaged
.
(Since version 2.0.0) use toLayer
Constructs a layer from the specified effect, which must return one or more services.
Constructs a layer from the specified effect, which must return one or more services.
(Since version 2.0.0) use fromZIOEnvironment
An identity layer that passes along its inputs.
An identity layer that passes along its inputs. Note that this represents
an identity with respect to the >>>
operator. It represents an identity
with respect to the ++
operator when the environment type is Any
.
(Since version 2.0.0) use environment
Constructs a layer that passes along the specified environment as an output.
Constructs a layer that passes along the specified environment as an output.
(Since version 2.0.0) use environment
Constructs a layer from the specified value, which must return one or more services.
Constructs a layer from the specified value, which must return one or more services.
(Since version 2.0.0) use succeedEnvironment