Packages

sealed abstract class IO[+A] extends IOPlatform[A]

Source
IO.scala
Linear Supertypes
IOPlatform[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IO
  2. IOPlatform
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def *>[B](that: IO[B]): IO[B]
  4. def <*[B](that: IO[B]): IO[A]
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def >>[B](that: ⇒ IO[B]): IO[B]
  7. def as[B](b: B): IO[B]
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def attempt: IO[Either[Throwable, A]]
  10. def background: ResourceIO[IO[OutcomeIO[A]]]
  11. def backgroundOn(ec: ExecutionContext): ResourceIO[IO[OutcomeIO[A]]]
  12. def both[B](that: IO[B]): IO[(A, B)]
  13. def bothOutcome[B](that: IO[B]): IO[(OutcomeIO[A], OutcomeIO[B])]
  14. def bracket[B](use: (A) ⇒ IO[B])(release: (A) ⇒ IO[Unit]): IO[B]
  15. def bracketCase[B](use: (A) ⇒ IO[B])(release: (A, OutcomeIO[B]) ⇒ IO[Unit]): IO[B]
  16. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  17. def delayBy(duration: FiniteDuration): IO[A]
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  20. def evalOn(ec: ExecutionContext): IO[A]
  21. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def flatMap[B](f: (A) ⇒ IO[B]): IO[B]
  23. def flatten[B](implicit ev: <:<[A, IO[B]]): IO[B]
  24. def foreverM: IO[Nothing]
  25. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def guarantee(finalizer: IO[Unit]): IO[A]
  27. def guaranteeCase(finalizer: (OutcomeIO[A]) ⇒ IO[Unit]): IO[A]
  28. def handleErrorWith[B >: A](f: (Throwable) ⇒ IO[B]): IO[B]
  29. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. def iterateUntil(p: (A) ⇒ Boolean): IO[A]
  32. def iterateWhile(p: (A) ⇒ Boolean): IO[A]
  33. def map[B](f: (A) ⇒ B): IO[B]
  34. def memoize: IO[IO[A]]
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. def onCancel(fin: IO[Unit]): IO[A]
  39. def onCase(pf: PartialFunction[OutcomeIO[A], IO[Unit]]): IO[A]
  40. def onError(f: (Throwable) ⇒ IO[Unit]): IO[A]
  41. def product[B](that: IO[B]): IO[(A, B)]
  42. def productL[B](that: IO[B]): IO[A]
  43. def productR[B](that: IO[B]): IO[B]
  44. def race[B](that: IO[B]): IO[Either[A, B]]
  45. def raceOutcome[B](that: IO[B]): IO[Either[OutcomeIO[A], OutcomeIO[B]]]
  46. def racePair[B](that: IO[B]): IO[Either[(OutcomeIO[A], FiberIO[B]), (FiberIO[A], OutcomeIO[B])]]
  47. def redeem[B](recover: (Throwable) ⇒ B, map: (A) ⇒ B): IO[B]
  48. def redeemWith[B](recover: (Throwable) ⇒ IO[B], bind: (A) ⇒ IO[B]): IO[B]
  49. def start: IO[FiberIO[A]]
  50. def startOn(ec: ExecutionContext): IO[FiberIO[A]]
  51. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  52. def timed: IO[(FiniteDuration, A)]
  53. def timeout[A2 >: A](duration: FiniteDuration): IO[A2]
  54. def timeoutTo[A2 >: A](duration: FiniteDuration, fallback: IO[A2]): IO[A2]
  55. def toString(): String
    Definition Classes
    IO → AnyRef → Any
  56. def uncancelable: IO[A]
  57. def unsafeRunAndForget()(implicit runtime: IORuntime): Unit
  58. def unsafeRunAsync(cb: (Either[Throwable, A]) ⇒ Unit)(implicit runtime: IORuntime): Unit
  59. def unsafeRunAsyncOutcome(cb: (Outcome[Id, Throwable, A]) ⇒ Unit)(implicit runtime: IORuntime): Unit
  60. final def unsafeRunSync()(implicit runtime: IORuntime): A
    Definition Classes
    IOPlatform
  61. final def unsafeRunTimed(limit: FiniteDuration)(implicit runtime: IORuntime): Option[A]
    Definition Classes
    IOPlatform
  62. final def unsafeToCompletableFuture()(implicit runtime: IORuntime): CompletableFuture[A]
    Definition Classes
    IOPlatform
  63. def unsafeToFuture()(implicit runtime: IORuntime): Future[A]
  64. def untilM[G[_], B >: A](cond: ⇒ IO[Boolean])(implicit arg0: Alternative[G]): IO[G[B]]
  65. def untilM_(cond: ⇒ IO[Boolean]): IO[Unit]
  66. def void: IO[Unit]
  67. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  69. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  70. def whileM[G[_], B >: A](p: IO[Boolean])(implicit arg0: Alternative[G]): IO[G[B]]
  71. def whileM_(p: IO[Boolean]): IO[Unit]

Inherited from IOPlatform[A]

Inherited from AnyRef

Inherited from Any

Ungrouped