ZLayerCompanionVersionSpecific
Value members
Concrete methods
Automatically assembles a layer for the provided type.
Automatically assembles a layer for the provided type.
val layer = ZLayer.make[Car](carLayer, wheelsLayer, engineLayer)
Automatically assembles a layer for the provided type R,
leaving a remainder R0.
Automatically assembles 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.makeSome[Engine, Car](carLayer, wheelsLayer)