Packages

c

zio.ZLayer

ZLayerInvariantOps

implicit final class ZLayerInvariantOps[RIn, E, ROut] extends AnyVal

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZLayerInvariantOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ZLayerInvariantOps(self: ZLayer[RIn, E, ROut])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  7. 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.

  8. 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.

  9. 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.

  10. 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.

  11. def reloadableManual(implicit tagOut: Tag[ROut], trace: Trace): ZLayer[RIn, E, Reloadable[ROut]]

    Returns a layer that produces a reloadable version of this service.

  12. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped