ClusterOperator
final
class ClusterOperator[R, E, T](client: ClusterResource[T], eventProcessor: EventProcessor[R, E, T], val context: OperatorContext, val bufferSize: Int) extends Operator[R, E, T]
Value members
Concrete methods
override
def mapEventProcessor[R1, E1](f: ZIO[R, OperatorFailure[E], Unit] => ZIO[R1, OperatorFailure[E1], Unit]): Operator[R1, E1, T]
- Definition Classes
Inherited methods
final
def provideCustomLayer[E1 >: E, R1 <: ZEnvironment[_]](layer: => ZLayer[ZEnv, OperatorFailure[E1], R1])(implicit ev: ZEnv & R1 <:< R, tagged: Tag[R1]): Operator[ZEnv, E1, T]
Provide the required environment for the operator with a layer on top of the standard ones
Provide the required environment for the operator with a layer on top of the standard ones
- Inherited from
- Operator
final
def provideLayer[E1 >: E, R0, R1](layer: => ZLayer[R0, OperatorFailure[E1], R]): Operator[R0, E1, T]
Provide the required environment for the operator with a layer
Provide the required environment for the operator with a layer
- Inherited from
- Operator
final
Provide parts of the required environment for the operator with a layer
Provide parts of the required environment for the operator with a layer
- Inherited from
- Operator