ZIOAspect

object ZIOAspect
Companion:
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def annotated(key: String, value: String): ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]

An aspect that annotates each log in this effect with the specified log annotation.

An aspect that annotates each log in this effect with the specified log annotation.

def annotated(annotations: (String, String)*): ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]

An aspect that annotates each log in this effect with the specified log annotations.

An aspect that annotates each log in this effect with the specified log annotations.

def logged(label: String): ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]

An aspect that logs values using a specified user-defined prefix label, using ZIO.log.

An aspect that logs values using a specified user-defined prefix label, using ZIO.log.

def loggedWith[A](f: A => String): ZIOAspect[Nothing, Any, Nothing, Any, Nothing, A]

An aspect that logs values using a specified function that convers the value into a log message. The log message is logged using ZIO.log.

An aspect that logs values using a specified function that convers the value into a log message. The log message is logged using ZIO.log.

def onExecutionContext(ec: ExecutionContext): ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]

As aspect that runs effects on the specified ExecutionContext.

As aspect that runs effects on the specified ExecutionContext.

def onExecutor(executor: Executor): ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]

As aspect that runs effects on the specified Executor.

As aspect that runs effects on the specified Executor.

def parallel(n: Int): ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]

As aspect that runs effects with the specified maximum number of fibers for parallel operators.

As aspect that runs effects with the specified maximum number of fibers for parallel operators.

def parallelUnbounded: ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]

As aspect that runs effects with an unbounded maximum number of fibers for parallel operators.

As aspect that runs effects with an unbounded maximum number of fibers for parallel operators.

def retry[R1, E1](schedule: Schedule[R1, E1, Any]): ZIOAspect[Nothing, R1, Nothing, E1, Nothing, Any]

An aspect that retries effects according to the specified schedule.

An aspect that retries effects according to the specified schedule.

def timeoutFail[E1](e: => E1)(d: Duration): ZIOAspect[Nothing, Any, E1, Any, Nothing, Any]

An aspect that times out effects.

An aspect that times out effects.

Concrete fields

val debug: ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]

An aspect that prints the results of effects to the console for debugging purposes.

An aspect that prints the results of effects to the console for debugging purposes.

val logged: ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]

An aspect that logs values by using ZIO.log.

An aspect that logs values by using ZIO.log.