sealed abstract class IO[+A] extends IOPlatform[A]
- Source
- IO.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- IO
- IOPlatform
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def *>[B](that: IO[B]): IO[B]
- def <*[B](that: IO[B]): IO[A]
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def >>[B](that: => IO[B]): IO[B]
- def as[B](b: B): IO[B]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def attempt: IO[Either[Throwable, A]]
- def background: ResourceIO[IO[OutcomeIO[A]]]
- def both[B](that: IO[B]): IO[(A, B)]
- def bothOutcome[B](that: IO[B]): IO[(OutcomeIO[A], OutcomeIO[B])]
- def bracket[B](use: (A) => IO[B])(release: (A) => IO[Unit]): IO[B]
- def bracketCase[B](use: (A) => IO[B])(release: (A, OutcomeIO[B]) => IO[Unit]): IO[B]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def delayBy(duration: FiniteDuration): IO[A]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def evalOn(ec: ExecutionContext): IO[A]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def flatMap[B](f: (A) => IO[B]): IO[B]
- def flatten[B](implicit ev: <:<[A, IO[B]]): IO[B]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def guarantee(finalizer: IO[Unit]): IO[A]
- def guaranteeCase(finalizer: (OutcomeIO[A]) => IO[Unit]): IO[A]
- def handleErrorWith[B >: A](f: (Throwable) => IO[B]): IO[B]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[B](f: (A) => B): IO[B]
- def memoize: IO[IO[A]]
- 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 onCancel(fin: IO[Unit]): IO[A]
- def onCase(pf: PartialFunction[OutcomeIO[A], IO[Unit]]): IO[A]
- def onError(f: (Throwable) => IO[Unit]): IO[A]
- def product[B](that: IO[B]): IO[(A, B)]
- def productL[B](that: IO[B]): IO[A]
- def productR[B](that: IO[B]): IO[B]
- def race[B](that: IO[B]): IO[Either[A, B]]
- def raceOutcome[B](that: IO[B]): IO[Either[OutcomeIO[A], OutcomeIO[B]]]
- def racePair[B](that: IO[B]): IO[Either[(OutcomeIO[A], FiberIO[B]), (FiberIO[A], OutcomeIO[B])]]
- def redeem[B](recover: (Throwable) => B, map: (A) => B): IO[B]
- def redeemWith[B](recover: (Throwable) => IO[B], bind: (A) => IO[B]): IO[B]
- def start: IO[FiberIO[A]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def timeout[A2 >: A](duration: FiniteDuration): IO[A2]
- def timeoutTo[A2 >: A](duration: FiniteDuration, fallback: IO[A2]): IO[A2]
- def toString(): String
- Definition Classes
- IO → AnyRef → Any
- def uncancelable: IO[A]
- def unsafeRunAndForget()(implicit runtime: IORuntime): Unit
- def unsafeRunAsync(cb: (Either[Throwable, A]) => Unit)(implicit runtime: IORuntime): Unit
- final def unsafeRunSync()(implicit runtime: IORuntime): A
- Definition Classes
- IOPlatform
- final def unsafeRunTimed(limit: FiniteDuration)(implicit runtime: IORuntime): Option[A]
- Definition Classes
- IOPlatform
- final def unsafeToCompletableFuture()(implicit runtime: IORuntime): CompletableFuture[A]
- Definition Classes
- IOPlatform
- def unsafeToFuture()(implicit runtime: IORuntime): Future[A]
- def void: IO[Unit]
- 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()