object QuasiIOIdentity extends QuasiIO[Identity]
- Alphabetic
- By Inheritance
- QuasiIOIdentity
- QuasiIO
- QuasiApplicative
- QuasiFunctor
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bracket[A, B](acquire: => Identity[A])(release: (A) => Identity[Unit])(use: (A) => Identity[B]): Identity[B]
- Definition Classes
- QuasiIOIdentity → QuasiIO
- final def bracketAuto[A <: AutoCloseable, B](acquire: => Identity[A])(use: (A) => Identity[B]): Identity[B]
- Definition Classes
- QuasiIO
- def bracketCase[A, B](acquire: => Identity[A])(release: (A, Option[Throwable]) => Identity[Unit])(use: (A) => Identity[B]): Identity[B]
- Definition Classes
- QuasiIOIdentity → QuasiIO
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def definitelyRecover[A](fa: => Identity[A])(recover: (Throwable) => Identity[A]): Identity[A]
A stronger version of
handleErrorWith, the difference is that this will _also_ intercept Throwable defects inZIO, not only typed errorsA stronger version of
handleErrorWith, the difference is that this will _also_ intercept Throwable defects inZIO, not only typed errors- Definition Classes
- QuasiIOIdentity → QuasiIO
- def definitelyRecoverCause[A](action: => Identity[A])(recoverCause: (Throwable, () => Throwable) => Identity[A]): Identity[A]
definitelyRecover, but the second argument is a callback that when called, will return another Throwable, possible enhanced with the effect's own debugging information.definitelyRecover, but the second argument is a callback that when called, will return another Throwable, possible enhanced with the effect's own debugging information.- Definition Classes
- QuasiIOIdentity → QuasiIO
- Note
the callback may perform side-effects to the original Throwable argument on the left, the left throwable should be DISCARDED after calling the callback. (e.g. in case of
ZIO, the callback will mutate the throwable and attach a ZIO Trace to it.)
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fail[A](t: => Throwable): Identity[A]
- Definition Classes
- QuasiIOIdentity → QuasiIO
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def flatMap[A, B](a: A)(f: (A) => Identity[B]): Identity[B]
- Definition Classes
- QuasiIOIdentity → QuasiIO
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def guarantee[A](fa: => Identity[A])(finally: => Identity[Unit]): Identity[A]
- Definition Classes
- QuasiIOIdentity → QuasiIO
- def guaranteeOnFailure[A](fa: => Identity[A])(cleanupOnFailure: (Throwable) => Identity[Unit]): Identity[A]
- Definition Classes
- QuasiIOIdentity → QuasiIO
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def ifThenElse[A](cond: Boolean)(ifTrue: => Identity[A], ifFalse: => Identity[A]): Identity[A]
- Definition Classes
- QuasiApplicative
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[A, B](fa: Identity[A])(f: (A) => B): Identity[B]
- Definition Classes
- QuasiIOIdentity → QuasiFunctor
- def map2[A, B, C](fa: Identity[A], fb: => Identity[B])(f: (A, B) => C): Identity[C]
- Definition Classes
- QuasiIOIdentity → QuasiApplicative
- def maybeSuspend[A](eff: => A): Identity[A]
A weaker version of
delay.A weaker version of
delay. Does not guarantee _actual_ suspension of side-effects, because QuasiIO[Identity] is allowed- Definition Classes
- QuasiIOIdentity → QuasiIO
- def maybeSuspendEither[A](eff: => Either[Throwable, A]): Identity[A]
- Definition Classes
- QuasiIOIdentity → QuasiIO
- 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 pure[A](a: A): Identity[A]
- Definition Classes
- QuasiIOIdentity → QuasiApplicative
- def redeem[A, B](action: => Identity[A])(failure: (Throwable) => Identity[B], success: (A) => Identity[B]): Identity[B]
- Definition Classes
- QuasiIOIdentity → QuasiIO
- def suspendF[A](effAction: => A): Identity[A]
- Definition Classes
- QuasiIOIdentity → QuasiIO
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tailRecM[A, B](a: A)(f: (A) => Identity[Either[A, B]]): Identity[B]
- Definition Classes
- QuasiIOIdentity → QuasiIO
- Annotations
- @tailrec()
- def toString(): String
- Definition Classes
- AnyRef → Any
- def traverse[A, B](l: Iterable[A])(f: (A) => Identity[B]): Identity[List[B]]
- Definition Classes
- QuasiIOIdentity → QuasiIO → QuasiApplicative
- def traverse_[A](l: Iterable[A])(f: (A) => Identity[Unit]): Identity[Unit]
- Definition Classes
- QuasiIOIdentity → QuasiIO → QuasiApplicative
- final val unit: Identity[Unit]
- Definition Classes
- QuasiApplicative
- final def unless(cond: Boolean)(ifFalse: => Identity[Unit]): Identity[Unit]
- Definition Classes
- QuasiApplicative
- 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()
- final def when(cond: Boolean)(ifTrue: => Identity[Unit]): Identity[Unit]
- Definition Classes
- QuasiApplicative
- final def widen[A, B >: A](fa: Identity[A]): Identity[B]
- Definition Classes
- QuasiFunctor