ZIOAspect

zio.ZIOAspect$
See theZIOAspect companion trait
object ZIOAspect

Attributes

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

Members list

Concise view

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.

Attributes

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.

Attributes

def debug(prefix: => String): ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]

An aspect that prints the results of an effect to the console for debugging purposes, using a specified user-defined prefix label.

An aspect that prints the results of an effect to the console for debugging purposes, using a specified user-defined prefix label.

Attributes

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.

Attributes

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.

Attributes

def nested(name: String): ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]

An aspect that nests all configuration loaded by this workflow under the specified name.

An aspect that nests all configuration loaded by this workflow under the specified name.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

def tagged(tags: (String, String)*): ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]

An aspect that tags each metric in this effect with the specified tags.

An aspect that tags each metric in this effect with the specified tags.

Attributes

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.

Attributes

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.

Attributes

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

An aspect that returns effects unchanged.

An aspect that returns effects unchanged.

Attributes

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.

Attributes