ZLayerPassthroughOps

final implicit class ZLayerPassthroughOps[RIn, E, ROut](self: ZLayer[RIn, E, ROut]) extends AnyVal
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def passthrough(implicit ev: Union[RIn, ROut], tag: Tag[ROut]): ZLayer[RIn, E, RIn & ROut]

Returns a new layer that produces the outputs of this layer but also passes through the inputs to this layer.

Returns a new layer that produces the outputs of this layer but also passes through the inputs to this layer.