object ZIOAspect
- Alphabetic
- By Inheritance
- ZIOAspect
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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.
- 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.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val debug: ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]
An aspect that prints the results of effects to the console for debugging purposes.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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.
- val logged: ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]
An aspect that logs values by 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.
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.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def onExecutionContext(ec: ExecutionContext): ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]
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
. - 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.
- def parallelUnbounded: ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]
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.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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.
- def timeoutFail[E1](e: => E1)(d: zio.Duration): ZIOAspect[Nothing, Any, E1, Any, Nothing, Any]
An aspect that times out effects.
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()