object IO
- Alphabetic
- By Inheritance
- IO
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- final class BracketAcquire[E, A] extends AnyVal
- final class BracketAcquire_[E] extends AnyVal
- class BracketRelease[E, A] extends AnyRef
- final class BracketRelease_[E] extends AnyRef
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 absolve[E, A](v: IO[E, Either[E, A]]): IO[E, A]
- See also
See zio.ZIO.absolve
- final def allowInterrupt: UIO[Unit]
- See also
- final def apply[A](a: => A): Task[A]
- See also
See zio.ZIO.apply
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- final def bracket[E, A, B](acquire: IO[E, A], release: (A) => UIO[_], use: (A) => IO[E, B]): IO[E, B]
- See also
See bracket zio.ZIO
- final def bracket[E, A](acquire: IO[E, A]): BracketAcquire[E, A]
- See also
See bracket zio.ZIO
- final def bracketExit[E, A, B](acquire: IO[E, A], release: (A, Exit[E, B]) => UIO[_], use: (A) => IO[E, B]): IO[E, B]
- See also
See bracketExit zio.ZIO
- final def bracketExit[E, A](acquire: IO[E, A]): BracketExitAcquire[Any, E, A]
- See also
See bracketExit zio.ZIO
- final def checkInterruptible[E, A](f: (InterruptStatus) => IO[E, A]): IO[E, A]
- See also
- final def checkSupervised[E, A](f: (SuperviseStatus) => IO[E, A]): IO[E, A]
- See also
- final def checkTraced[E, A](f: (TracingStatus) => IO[E, A]): IO[E, A]
- See also
- final def children: UIO[IndexedSeq[Fiber[_, _]]]
- See also
See zio.ZIO.children
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def collectAll[E, A](in: Iterable[IO[E, A]]): IO[E, List[A]]
- See also
- final def collectAllPar[E, A](as: Iterable[IO[E, A]]): IO[E, List[A]]
- See also
- final def collectAllParN[E, A](n: Int)(as: Iterable[IO[E, A]]): IO[E, List[A]]
- See also
- final def collectAllSuccesses[E, A](in: Iterable[IO[E, A]]): IO[E, List[A]]
- See also
- final def collectAllSuccessesPar[E, A](as: Iterable[IO[E, A]]): IO[E, List[A]]
- See also
- final def collectAllSuccessesParN[E, A](n: Int)(as: Iterable[IO[E, A]]): IO[E, List[A]]
- See also
- final def collectAllWith[E, A, B](in: Iterable[IO[E, A]])(f: PartialFunction[A, B]): IO[E, List[B]]
- See also
- final def collectAllWithPar[E, A, B](as: Iterable[IO[E, A]])(f: PartialFunction[A, B]): IO[E, List[B]]
- See also
- final def collectAllWithParN[E, A, B](n: Int)(as: Iterable[IO[E, A]])(f: PartialFunction[A, B]): IO[E, List[B]]
- See also
- final def descriptor: UIO[Descriptor]
- See also
- final def descriptorWith[E, A](f: (Descriptor) => IO[E, A]): IO[E, A]
- See also
- final def die(t: Throwable): UIO[Nothing]
- See also
See zio.ZIO.die
- final def dieMessage(message: String): UIO[Nothing]
- See also
- final def done[E, A](r: Exit[E, A]): IO[E, A]
- See also
See zio.ZIO.done
- final def effect[A](effect: => A): Task[A]
- See also
See zio.ZIO.effect
- final def effectAsync[E, A](register: ((IO[E, A]) => Unit) => Unit): IO[E, A]
- See also
- final def effectAsyncInterrupt[E, A](register: ((IO[E, A]) => Unit) => Either[Canceler, IO[E, A]]): IO[E, A]
- See also
- final def effectAsyncM[E, A](register: ((IO[E, A]) => Unit) => IO[E, _]): IO[E, A]
- See also
- final def effectAsyncMaybe[E, A](register: ((IO[E, A]) => Unit) => Option[IO[E, A]]): IO[E, A]
- See also
- final def effectSuspendTotal[E, A](io: => IO[E, A]): IO[E, A]
- See also
- final def effectSuspendTotalWith[E, A](p: (Platform) => IO[E, A]): IO[E, A]
- See also
- final def effectTotal[A](effect: => A): UIO[A]
- See also
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def fail[E](error: E): IO[E, Nothing]
- See also
See zio.ZIO.fail
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def firstSuccessOf[E, A](io: IO[E, A], rest: Iterable[IO[E, A]]): IO[E, A]
- See also
- final def flatten[E, A](io: IO[E, IO[E, A]]): IO[E, A]
- See also
See zio.ZIO.flatten
- final def foldLeft[E, S, A](in: Iterable[A])(zero: S)(f: (S, A) => IO[E, S]): IO[E, S]
- See also
See zio.ZIO.foldLeft
- final def foreach[E, A, B](in: Iterable[A])(f: (A) => IO[E, B]): IO[E, List[B]]
- See also
See zio.ZIO.foreach
- final def foreachPar[E, A, B](as: Iterable[A])(fn: (A) => IO[E, B]): IO[E, List[B]]
- See also
- final def foreachParN[E, A, B](n: Int)(as: Iterable[A])(fn: (A) => IO[E, B]): IO[E, List[B]]
- See also
- final def foreachParN_[E, A, B](n: Int)(as: Iterable[A])(f: (A) => IO[E, _]): IO[E, Unit]
- See also
- final def foreachPar_[E, A, B](as: Iterable[A])(f: (A) => IO[E, _]): IO[E, Unit]
- See also
- final def foreach_[E, A](as: Iterable[A])(f: (A) => IO[E, _]): IO[E, Unit]
- See also
See zio.ZIO.foreach_
- final def forkAll[E, A](as: Iterable[IO[E, A]]): UIO[Fiber[E, List[A]]]
- See also
See zio.ZIO.forkAll
- final def forkAll_[E, A](as: Iterable[IO[E, A]]): UIO[Unit]
- See also
See zio.ZIO.forkAll_
- final def fromEither[E, A](v: => Either[E, A]): IO[E, A]
- See also
- final def fromFiber[E, A](fiber: => Fiber[E, A]): IO[E, A]
- See also
- final def fromFiberM[E, A](fiber: IO[E, Fiber[E, A]]): IO[E, A]
- See also
- final def fromFuture[A](make: (ExecutionContext) => Future[A]): Task[A]
- See also
- final def fromOption[A](v: => Option[A]): IO[Unit, A]
- See also
- final def fromTry[A](value: => Try[A]): Task[A]
- See also
See zio.ZIO.fromTry
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def halt[E](cause: Cause[E]): IO[E, Nothing]
- See also
See zio.ZIO.halt
- final def haltWith[E](function: (() => ZTrace) => Cause[E]): IO[E, Nothing]
- See also
See zio.ZIO.haltWith
- final def handleChildrenWith[E, A](io: IO[E, A])(supervisor: (IndexedSeq[Fiber[_, _]]) => UIO[_]): IO[E, A]
- See also
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final val interrupt: UIO[Nothing]
- See also
See See zio.ZIO.interrupt
- final def interruptChildren[E, A](io: IO[E, A]): IO[E, A]
- See also
- final def interruptible[E, A](io: IO[E, A]): IO[E, A]
- See also
- final def interruptibleMask[E, A](k: (InterruptStatusRestore) => IO[E, A]): IO[E, A]
- See also
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def left[E, A](a: A): IO[E, Either[A, Nothing]]
- See also
See zio.ZIO.left
- final def lock[E, A](executor: Executor)(io: IO[E, A]): IO[E, A]
- See also
See zio.ZIO.lock
- final def mergeAll[E, A, B](in: Iterable[IO[E, A]])(zero: B)(f: (B, A) => B): IO[E, B]
- See also
See zio.ZIO.mergeAll
- final def mergeAllPar[E, A, B](in: Iterable[IO[E, A]])(zero: B)(f: (B, A) => B): IO[E, B]
- See also
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final val never: UIO[Nothing]
- See also
See zio.ZIO.never
- final val none: UIO[Option[Nothing]]
- See also
See zio.ZIO.none
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def raceAll[E, A](io: IO[E, A], ios: Iterable[IO[E, A]]): IO[E, A]
- See also
See zio.ZIO.raceAll
- final def reduceAll[E, A](a: IO[E, A], as: Iterable[IO[E, A]])(f: (A, A) => A): IO[E, A]
- See also
- final def reduceAllPar[E, A](a: IO[E, A], as: Iterable[IO[E, A]])(f: (A, A) => A): IO[E, A]
- See also
- def replicate[E, A](n: Int)(effect: IO[E, A]): Iterable[IO[E, A]]
- See also
- final def require[E, A](error: E): (IO[E, Option[A]]) => IO[E, A]
- See also
See zio.ZIO.require
- final def reserve[E, A, B](reservation: IO[E, Reservation[Any, E, A]])(use: (A) => IO[E, B]): IO[E, B]
- See also
See zio.ZIO.reserve
- def right[E, B](b: B): IO[E, Either[Nothing, B]]
- See also
- final def runtime: UIO[Runtime[Any]]
- See also
See zio.ZIO.runtime
- final def sequence[E, A](in: Iterable[IO[E, A]]): IO[E, List[A]]
See zio.ZIO.sequence
- final def sequencePar[E, A](as: Iterable[IO[E, A]]): IO[E, List[A]]
- final def sequenceParN[E, A](n: Int)(as: Iterable[IO[E, A]]): IO[E, List[A]]
- def some[E, A](a: A): IO[E, Option[A]]
- See also
- final def succeed[A](a: A): UIO[A]
- See also
See zio.ZIO.succeed
- final def superviseStatus[E, A](status: SuperviseStatus)(io: IO[E, A]): IO[E, A]
- See also
- final def supervised[E, A](io: IO[E, A]): IO[E, A]
- See also
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def trace: UIO[ZTrace]
- See also
See zio.ZIO.trace
- final def traced[E, A](zio: IO[E, A]): IO[E, A]
- See also
See zio.ZIO.traced
- final def traverse[E, A, B](in: Iterable[A])(f: (A) => IO[E, B]): IO[E, List[B]]
- See also
See zio.ZIO.traverse
- final def traversePar[E, A, B](as: Iterable[A])(fn: (A) => IO[E, B]): IO[E, List[B]]
- See also
- final def traverseParN[E, A, B](n: Int)(as: Iterable[A])(fn: (A) => IO[E, B]): IO[E, List[B]]
Alias for ZIO.foreachParN
- final def traverseParN_[E, A](n: Int)(as: Iterable[A])(f: (A) => IO[E, _]): IO[E, Unit]
- See also
- final def traversePar_[E, A](as: Iterable[A])(f: (A) => IO[E, _]): IO[E, Unit]
- See also
- final def traverse_[E, A](as: Iterable[A])(f: (A) => IO[E, _]): IO[E, Unit]
- See also
- final def uninterruptible[E, A](io: IO[E, A]): IO[E, A]
- See also
- final def uninterruptibleMask[E, A](k: (InterruptStatusRestore) => IO[E, A]): IO[E, A]
- See also
- final val unit: UIO[Unit]
- See also
See zio.ZIO.unit
- final def unsandbox[E, A](v: IO[Cause[E], A]): IO[E, A]
- See also
- final def unsupervised[E, A](io: IO[E, A]): IO[E, A]
- See also
- final def untraced[E, A](zio: IO[E, A]): IO[E, A]
- See also
See zio.ZIO.untraced
- 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[E](b: Boolean)(io: IO[E, _]): IO[E, Unit]
- See also
See zio.ZIO.when
- final def whenCase[R, E, A](a: A)(pf: PartialFunction[A, ZIO[R, E, _]]): ZIO[R, E, Unit]
- See also
See zio.ZIO.whenCase
- final def whenCaseM[R, E, A](a: ZIO[R, E, A])(pf: PartialFunction[A, ZIO[R, E, _]]): ZIO[R, E, Unit]
- See also
- final def whenM[E](b: IO[E, Boolean])(io: IO[E, _]): IO[E, Unit]
- See also
See zio.ZIO.whenM
- final val yieldNow: UIO[Unit]
- See also
See zio.ZIO.yieldNow
Deprecated Value Members
- final def succeedLazy[A](a: => A): UIO[A]
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0) use effectTotal
- final def suspend[E, A](io: => IO[E, A]): IO[E, A]
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0) use effectSuspendTotal
- final def suspendWith[E, A](p: (Platform) => IO[E, A]): IO[E, A]
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0) use effectSuspendTotalWith