Packages

class AsyncOps[F[+_, +_], +E, +A] extends IOOps[F, E, A]

Linear Supertypes
IOOps[F, E, A], PanicOps[F, E, A], BracketOps[F, E, A], ErrorOps[F, E, A], ApplicativeErrorOps[F, E, A], GuaranteeOps[F, E, A], ApplicativeOps[F, E, A], FunctorOps[F, E, A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AsyncOps
  2. IOOps
  3. PanicOps
  4. BracketOps
  5. ErrorOps
  6. ApplicativeErrorOps
  7. GuaranteeOps
  8. ApplicativeOps
  9. FunctorOps
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AsyncOps(r: F[E, A])(implicit F: Async2[F])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def *>[E1 >: E, B](f0: => F[E1, B]): F[E1, B]

    execute two operations in order, return result of second operation

    execute two operations in order, return result of second operation

    Definition Classes
    ApplicativeOps
    Annotations
    @inline()
  4. final def <*[E1 >: E, B](f0: => F[E1, B]): F[E1, A]

    execute two operations in order, same as *>, but return result of first operation

    execute two operations in order, same as *>, but return result of first operation

    Definition Classes
    ApplicativeOps
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. implicit val F: Async2[F]
    Attributes
    protected[this]
    Definition Classes
    AsyncOpsIOOpsPanicOpsBracketOpsErrorOpsApplicativeErrorOpsGuaranteeOpsApplicativeOpsFunctorOps
  7. final def as[B](b: => B): F[E, B]
    Definition Classes
    FunctorOps
    Annotations
    @inline()
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. final def attempt: F[Nothing, Either[E, A]]
    Definition Classes
    ErrorOps
    Annotations
    @inline()
  10. final def bimap[E2, B](f: (E) => E2, g: (A) => B): F[E2, B]
    Definition Classes
    ApplicativeErrorOps
    Annotations
    @inline()
  11. final def bracket[E1 >: E, B](release: (A) => F[Nothing, Unit])(use: (A) => F[E1, B]): F[E1, B]
    Definition Classes
    BracketOps
    Annotations
    @inline()
  12. final def bracketAuto[E1 >: E, B](use: (A) => F[E1, B])(implicit ev: <:<[A, AutoCloseable]): F[E1, B]
    Definition Classes
    IOOps
    Annotations
    @inline()
  13. final def bracketCase[E1 >: E, B](release: (A, Exit[E1, B]) => F[Nothing, Unit])(use: (A) => F[E1, B]): F[E1, B]
    Definition Classes
    BracketOps
    Annotations
    @inline()
  14. final def bracketOnFailure[E1 >: E, B](cleanupOnFailure: (A, Failure[E1]) => F[Nothing, Unit])(use: (A) => F[E1, B]): F[E1, B]
    Definition Classes
    BracketOps
    Annotations
    @inline()
  15. final def catchAll[E2, A2 >: A](h: (E) => F[E2, A2]): F[E2, A2]
    Definition Classes
    ErrorOps
    Annotations
    @inline()
  16. final def catchSome[E1 >: E, A2 >: A](h: PartialFunction[E, F[E1, A2]]): F[E1, A2]
    Definition Classes
    ErrorOps
    Annotations
    @inline()
  17. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  21. final def flatMap[E1 >: E, B](f0: (A) => F[E1, B]): F[E1, B]
    Definition Classes
    ErrorOps
    Annotations
    @inline()
  22. final def flatten[E1 >: E, A1](implicit ev: <:<[A, F[E1, A1]]): F[E1, A1]
    Definition Classes
    ErrorOps
    Annotations
    @inline()
  23. final def flip: F[A, E]
    Definition Classes
    ErrorOps
    Annotations
    @inline()
  24. final def forever: F[E, Nothing]
    Definition Classes
    ApplicativeOps
    Annotations
    @inline()
  25. final def fromEither[E1 >: E, A1](implicit ev: <:<[A, Either[E1, A1]]): F[E1, A1]
    Definition Classes
    ErrorOps
    Annotations
    @inline()
  26. final def fromOption[E1 >: E, A1](errorOnNone: => E1)(implicit ev1: <:<[A, Option[A1]]): F[E1, A1]
    Definition Classes
    ErrorOps
    Annotations
    @inline()
  27. final def fromOptionF[E1 >: E, B](fallbackOnNone: => F[E1, B])(implicit ev: <:<[A, Option[B]]): F[E1, B]
    Definition Classes
    ErrorOps
    Annotations
    @inline()
  28. final def fromOptionOr[B](valueOnNone: => B)(implicit ev: <:<[A, Option[B]]): F[E, B]
    Definition Classes
    FunctorOps
    Annotations
    @inline()
  29. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  30. final def guarantee(cleanup: F[Nothing, Unit]): F[E, A]
    Definition Classes
    GuaranteeOps
    Annotations
    @inline()
  31. final def guaranteeCase(cleanup: (Exit[E, A]) => F[Nothing, Unit]): F[E, A]
    Definition Classes
    BracketOps
    Annotations
    @inline()
  32. final def guaranteeExceptOnInterrupt(cleanupOnNonInterruption: (Either[Termination, Either[Error[E], Success[A]]]) => F[Nothing, Unit]): F[E, A]
    Definition Classes
    BracketOps
    Annotations
    @inline()
  33. final def guaranteeOnFailure(cleanupOnFailure: (Failure[E]) => F[Nothing, Unit]): F[E, A]
    Definition Classes
    BracketOps
    Annotations
    @inline()
  34. final def guaranteeOnInterrupt(cleanupOnInterruption: (Interruption) => F[Nothing, Unit]): F[E, A]
    Definition Classes
    BracketOps
    Annotations
    @inline()
  35. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. final def iterateUntil(p: (A) => Boolean): F[E, A]
    Definition Classes
    ErrorOps
    Annotations
    @inline()
  38. final def iterateWhile(p: (A) => Boolean): F[E, A]
    Definition Classes
    ErrorOps
    Annotations
    @inline()
  39. final def leftFlatMap[E2](f: (E) => F[Nothing, E2]): F[E2, A]
    Definition Classes
    ErrorOps
    Annotations
    @inline()
  40. final def leftMap[E2](f: (E) => E2): F[E2, A]
    Definition Classes
    ApplicativeErrorOps
    Annotations
    @inline()
  41. final def leftMap2[E2, A1 >: A, E3](r2: => F[E2, A1])(f: (E, E2) => E3): F[E3, A1]
    Definition Classes
    ApplicativeErrorOps
    Annotations
    @inline()
  42. final def map[B](f: (A) => B): F[E, B]
    Definition Classes
    FunctorOps
    Annotations
    @inline()
  43. final def map2[E2 >: E, B, C](r2: => F[E2, B])(f: (A, B) => C): F[E2, C]

    execute two operations in order, map their results

    execute two operations in order, map their results

    Definition Classes
    ApplicativeOps
    Annotations
    @inline()
  44. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  45. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  46. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  47. final def orElse[E2, A1 >: A](r2: => F[E2, A1]): F[E2, A1]
    Definition Classes
    ApplicativeErrorOps
    Annotations
    @inline()
  48. final def orTerminate(implicit ev: <:<[E, Throwable]): F[Nothing, A]

    Convert Throwable typed error into a defect

    Convert Throwable typed error into a defect

    Definition Classes
    PanicOps
    Annotations
    @inline()
  49. val r: F[E, A]
    Attributes
    protected[this]
    Definition Classes
    AsyncOpsIOOpsPanicOpsBracketOpsErrorOpsApplicativeErrorOpsGuaranteeOpsApplicativeOpsFunctorOps
  50. final def race[E1 >: E, A1 >: A](that: F[E1, A1]): F[E1, A1]
    Annotations
    @inline()
  51. final def racePairUnsafe[E1 >: E, A1 >: A](that: F[E1, A1]): F[E1, Either[(Exit[E1, A], Fiber2[F, E1, A1]), (Fiber2[F, E1, A], Exit[E1, A1])]]
    Annotations
    @inline()
  52. final def redeem[E2, B](err: (E) => F[E2, B], succ: (A) => F[E2, B]): F[E2, B]
    Definition Classes
    ErrorOps
    Annotations
    @inline()
  53. final def redeemPure[B](err: (E) => B, succ: (A) => B): F[Nothing, B]
    Definition Classes
    ErrorOps
    Annotations
    @inline()
  54. final def retryUntil(f: (E) => Boolean): F[E, A]
    Definition Classes
    ErrorOps
    Annotations
    @inline()
  55. final def retryUntilF(f: (E) => F[Nothing, Boolean]): F[E, A]
    Definition Classes
    ErrorOps
    Annotations
    @inline()
  56. final def retryWhile(f: (E) => Boolean): F[E, A]
    Definition Classes
    ErrorOps
    Annotations
    @inline()
  57. final def retryWhileF(f: (E) => F[Nothing, Boolean]): F[E, A]
    Definition Classes
    ErrorOps
    Annotations
    @inline()
  58. final def sandbox: F[Failure[E], A]
    Definition Classes
    PanicOps
    Annotations
    @inline()
  59. final def sandboxExit: F[Nothing, Exit[E, A]]
    Definition Classes
    PanicOps
    Annotations
    @inline()
  60. final def sandboxToThrowable(implicit ev: <:<[E, Throwable]): F[Throwable, A]

    Catch all _defects_ in this effect and convert them to Throwable Example:

    Catch all _defects_ in this effect and convert them to Throwable Example:

    F.pure(1)
      .map(_ => ???)
      .sandboxThrowable
      .catchAll(_ => IO2(println("Caught error!")))
    Definition Classes
    PanicOps
    Annotations
    @inline()
  61. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  62. final def tap[E1 >: E](f0: (A) => F[E1, Unit]): F[E1, A]
    Definition Classes
    ErrorOps
    Annotations
    @inline()
  63. final def tapBoth[E1 >: E, E2 >: E1](err: (E) => F[E1, Unit])(succ: (A) => F[E2, Unit]): F[E2, A]
    Definition Classes
    ErrorOps
    Annotations
    @inline()
  64. final def tapError[E1 >: E](f: (E) => F[E1, Unit]): F[E1, A]
    Definition Classes
    ErrorOps
    Annotations
    @inline()
  65. def toString(): String
    Definition Classes
    AnyRef → Any
  66. final def uninterruptible: F[E, A]
    Definition Classes
    PanicOps
    Annotations
    @inline()
  67. final def void: F[E, Unit]
    Definition Classes
    FunctorOps
    Annotations
    @inline()
  68. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  69. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  70. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  71. final def widen[A1](implicit ev: <:<[A, A1]): F[E, A1]
    Definition Classes
    FunctorOps
    Annotations
    @inline()
  72. final def widenBoth[E1 >: E, A1](implicit ev2: <:<[A, A1]): F[E1, A1]
    Definition Classes
    ApplicativeErrorOps
    Annotations
    @inline()
  73. final def widenError[E1 >: E]: F[E1, A]
    Definition Classes
    ApplicativeErrorOps
    Annotations
    @inline()
  74. final def withFilter[A1 >: A, E1 >: E](predicate: (A) => Boolean)(implicit filter: WithFilter[E1], pos: SourceFilePositionMaterializer): F[E1, A]

    for-comprehensions sugar:

    for-comprehensions sugar:

    for {
      (1, 2) <- F.pure((2, 1))
    } yield ()

    Use widenError for pattern matching with non-Throwable errors:

    val f = for {
      (1, 2) <- F.pure((2, 1)).widenError[Option[Unit]]
    } yield ()
    // f: F[Option[Unit], Unit] = F.fail(Some(())
    Definition Classes
    ErrorOps
    Annotations
    @inline()
  75. final def zip[E2 >: E, B, C](r2: => F[E2, B]): F[E2, (A, B)]

    execute two operations in order, return result of both operations

    execute two operations in order, return result of both operations

    Definition Classes
    ApplicativeOps
    Annotations
    @inline()
  76. final def zipPar[E1 >: E, B](that: F[E1, B]): F[E1, (A, B)]
    Annotations
    @inline()
  77. final def zipParLeft[E1 >: E, B](that: F[E1, B]): F[E1, A]
    Annotations
    @inline()
  78. final def zipParRight[E1 >: E, B](that: F[E1, B]): F[E1, B]
    Annotations
    @inline()
  79. final def zipWithPar[E1 >: E, B, C](that: F[E1, B])(f: (A, B) => C): F[E1, C]
    Annotations
    @inline()

Inherited from IOOps[F, E, A]

Inherited from PanicOps[F, E, A]

Inherited from BracketOps[F, E, A]

Inherited from ErrorOps[F, E, A]

Inherited from ApplicativeErrorOps[F, E, A]

Inherited from GuaranteeOps[F, E, A]

Inherited from ApplicativeOps[F, E, A]

Inherited from FunctorOps[F, E, A]

Inherited from AnyRef

Inherited from Any

Ungrouped