implicit final class ZLayerInvariantOps[RIn, E, ROut] extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ZLayerInvariantOps
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def passthrough(implicit in: zio.EnvironmentTag[RIn], out: zio.EnvironmentTag[ROut], trace: Trace): ZLayer[RIn, E, RIn with ROut]
Returns a new layer that produces the outputs of this layer but also passes through the inputs.
- def project[ROut2](f: (ROut) => ROut2)(implicit arg0: Tag[ROut2], tag: Tag[ROut], trace: Trace): ZLayer[RIn, E, ROut2]
Projects out part of one of the services output by this layer using the specified function.
- def reloadableAuto(schedule: Schedule[RIn, Any, Any])(implicit tagOut: Tag[ROut], trace: Trace): ZLayer[RIn, E, Reloadable[ROut]]
Returns a layer that produces a reloadable version of this service.
- def reloadableAutoFromConfig[RIn2](scheduleFromConfig: (ZEnvironment[RIn2]) => Schedule[RIn with RIn2, Any, Any])(implicit tagOut: Tag[ROut], trace: Trace): ZLayer[RIn with RIn2, E, Reloadable[ROut]]
Returns a layer that produces a reloadable version of this service, where the reloading schedule is derived from the layer input.
- def reloadableManual(implicit tagOut: Tag[ROut], trace: Trace): ZLayer[RIn, E, Reloadable[ROut]]
Returns a layer that produces a reloadable version of this service.
- def toString(): String
- Definition Classes
- Any