Transform

scalapb.zio_grpc.Transform
See theTransform companion object
trait Transform

Describes a transformation for all effects and streams of a service.

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/response.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Abstract methods

def effect[A](io: ZIO[Any, StatusException, A]): ZIO[Any, StatusException, A]
def stream[A](io: ZStream[Any, StatusException, A]): ZStream[Any, StatusException, A]

Concrete methods

def andThen(other: Transform): Transform
def compose(other: Transform): Transform
def toGTransform[Context]: GTransform[Context, StatusException, Context, StatusException]