ZTransform

scalapb.zio_grpc.ZTransform
See theZTransform companion object
trait ZTransform[+RIn, E, -ROut]

Describes a transformation of an effect or a stream.

Instances of this class can be used to apply a transformation to all methods of a service to generate a new "decorated" service. This can be used for pre- or post-processing of requests/responses and also for environment and context transformations.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ZTransform[RIn, E, ROut]

Members list

Concise view

Value members

Abstract methods

def effect[A](io: ZIO[RIn, E, A]): ZIO[ROut, E, A]
def stream[A](io: ZStream[RIn, E, A]): ZStream[ROut, E, A]

Concrete methods

def andThen[RIn2 <: ROut, ROut2](zt: ZTransform[RIn2, E, ROut2]): ZTransform[RIn, E, ROut2]

Combine two ZTransforms

Combine two ZTransforms

Attributes