ZLayerDefaultInvariantOps

zio.ZLayer.Derive.Default.ZLayerDefaultInvariantOps
final implicit class ZLayerDefaultInvariantOps[R, E, A](self: WithContext[R, E, A]) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def map[B : Tag](f: A => B)(implicit evidence$1: Tag[B], tag: Tag[A], trace: Trace): WithContext[R, E, B]

Returns a new default layer mapped by the specified function.

Returns a new default layer mapped by the specified function.

Attributes

def mapZIO[R1 <: R, E1 >: E, B : Tag](k: A => ZIO[R1, E1, B])(implicit evidence$1: Tag[B], tag: Tag[A], trace: Trace): WithContext[R1, E1, B]

Constructs a new default layer dynamically based on the output of the current default layer.

Constructs a new default layer dynamically based on the output of the current default layer.

Attributes