object IO
- Alphabetic
- By Inheritance
- IO
- 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
- def absolve[E, A](v: => IO[E, Either[E, A]])(implicit trace: ZTraceElement): IO[E, A]
- See also
See zio.ZIO.absolve
- def acquireReleaseExitWith[E, A, B](acquire: => IO[E, A], release: (A, Exit[E, B]) => UIO[Any], use: (A) => IO[E, B])(implicit trace: ZTraceElement): IO[E, B]
- See also
See acquireReleaseExitWith zio.ZIO
- def acquireReleaseExitWith[E, A](acquire: => IO[E, A]): AcquireExit[Any, E, A]
- See also
See acquireReleaseExitWith zio.ZIO
- def acquireReleaseWith[E, A, B](acquire: => IO[E, A], release: (A) => UIO[Any], use: (A) => IO[E, B])(implicit trace: ZTraceElement): IO[E, B]
- See also
See acquireReleaseWith zio.ZIO
- def acquireReleaseWith[E, A](acquire: => IO[E, A]): Acquire[Any, E, A]
- See also
See acquireReleaseWith zio.ZIO
- def allowInterrupt(implicit trace: ZTraceElement): UIO[Unit]
- See also
- def apply[A](a: => A)(implicit trace: ZTraceElement): Task[A]
- See also
See zio.ZIO.apply
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def async[E, A](register: ((IO[E, A]) => Unit) => Any, blockingOn: => FiberId = FiberId.None)(implicit trace: ZTraceElement): IO[E, A]
- See also
See zio.ZIO.async
- def asyncInterrupt[E, A](register: ((IO[E, A]) => Unit) => Either[Canceler[Any], IO[E, A]], blockingOn: => FiberId = FiberId.None)(implicit trace: ZTraceElement): IO[E, A]
- See also
- def asyncMaybe[E, A](register: ((IO[E, A]) => Unit) => Option[IO[E, A]], blockingOn: => FiberId = FiberId.None)(implicit trace: ZTraceElement): IO[E, A]
- See also
- def asyncZIO[E, A](register: ((IO[E, A]) => Unit) => IO[E, Any])(implicit trace: ZTraceElement): IO[E, A]
- See also
See zio.ZIO.asyncZIO
- def attempt[A](effect: => A)(implicit trace: ZTraceElement): Task[A]
- See also
See zio.ZIO.attempt
- def attemptBlocking[A](effect: => A)(implicit trace: ZTraceElement): Task[A]
- See also
- def attemptBlockingCancelable[A](effect: => A)(cancel: => UIO[Any])(implicit trace: ZTraceElement): Task[A]
- See also
- def attemptBlockingIO[A](effect: => A)(implicit trace: ZTraceElement): IO[IOException, A]
- See also
- def attemptBlockingInterrupt[A](effect: => A)(implicit trace: ZTraceElement): Task[A]
- See also
- def blocking[E, A](zio: => IO[E, A])(implicit trace: ZTraceElement): IO[E, A]
- See also
See zio.ZIO.blocking
- def blockingExecutor(implicit trace: ZTraceElement): UIO[Executor]
- See also
- def checkInterruptible[E, A](f: (InterruptStatus) => IO[E, A])(implicit trace: ZTraceElement): IO[E, A]
- See also
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def collect[E, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) => IO[Option[E], (Key2, Value2)])(implicit trace: ZTraceElement): IO[E, Map[Key2, Value2]]
- See also
- def collect[E, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) => IO[Option[E], B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], trace: ZTraceElement): IO[E, Collection[B]]
- def collectAll[E, A](in: NonEmptyChunk[IO[E, A]])(implicit trace: ZTraceElement): IO[E, NonEmptyChunk[A]]
- See also
- def collectAll[E, A](in: Array[IO[E, A]])(implicit arg0: ClassTag[A], trace: ZTraceElement): IO[E, Array[A]]
- See also
- def collectAll[E, A](in: Set[IO[E, A]])(implicit trace: ZTraceElement): IO[E, Set[A]]
- See also
- def collectAll[E, A, Collection[+Element] <: Iterable[Element]](in: Collection[IO[E, A]])(implicit bf: zio.BuildFrom[Collection[IO[E, A]], A, Collection[A]], trace: ZTraceElement): IO[E, Collection[A]]
- def collectAllDiscard[E, A](in: => Iterable[IO[E, A]])(implicit trace: ZTraceElement): IO[E, Unit]
- See also
- def collectAllPar[E, A](as: NonEmptyChunk[IO[E, A]])(implicit trace: ZTraceElement): IO[E, NonEmptyChunk[A]]
- See also
- def collectAllPar[E, A](as: Array[IO[E, A]])(implicit arg0: ClassTag[A], trace: ZTraceElement): IO[E, Array[A]]
- See also
- def collectAllPar[E, A](as: Set[IO[E, A]])(implicit trace: ZTraceElement): IO[E, Set[A]]
- See also
- def collectAllPar[E, A, Collection[+Element] <: Iterable[Element]](as: Collection[IO[E, A]])(implicit bf: zio.BuildFrom[Collection[IO[E, A]], A, Collection[A]], trace: ZTraceElement): IO[E, Collection[A]]
- def collectAllParDiscard[E, A](in: => Iterable[IO[E, A]])(implicit trace: ZTraceElement): IO[E, Unit]
- See also
- def collectAllSuccesses[E, A, Collection[+Element] <: Iterable[Element]](in: Collection[IO[E, A]])(implicit bf: zio.BuildFrom[Collection[IO[E, A]], A, Collection[A]], trace: ZTraceElement): UIO[Collection[A]]
- See also
- def collectAllSuccessesPar[E, A, Collection[+Element] <: Iterable[Element]](as: Collection[IO[E, A]])(implicit bf: zio.BuildFrom[Collection[IO[E, A]], A, Collection[A]], trace: ZTraceElement): UIO[Collection[A]]
- See also
- def collectAllWith[E, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[IO[E, A]])(f: PartialFunction[A, B])(implicit bf: zio.BuildFrom[Collection[IO[E, A]], B, Collection[B]], trace: ZTraceElement): IO[E, Collection[B]]
- See also
- def collectAllWithPar[E, A, B, Collection[+Element] <: Iterable[Element]](as: Collection[IO[E, A]])(f: PartialFunction[A, B])(implicit bf: zio.BuildFrom[Collection[IO[E, A]], B, Collection[B]], trace: ZTraceElement): IO[E, Collection[B]]
- See also
- def collectFirst[E, A, B](as: => Iterable[A])(f: (A) => IO[E, Option[B]])(implicit trace: ZTraceElement): IO[E, Option[B]]
- See also
- def collectPar[E, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) => IO[Option[E], (Key2, Value2)])(implicit trace: ZTraceElement): IO[E, Map[Key2, Value2]]
- def collectPar[E, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) => IO[Option[E], B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], trace: ZTraceElement): IO[E, Collection[B]]
- def cond[E, A](predicate: => Boolean, result: => A, error: => E)(implicit trace: ZTraceElement): IO[E, A]
- See also
See zio.ZIO.cond
- def debug(value: => Any)(implicit trace: ZTraceElement): UIO[Unit]
- See also
See zio.ZIO.debug
- def descriptor(implicit trace: ZTraceElement): UIO[Descriptor]
- See also
- def descriptorWith[E, A](f: (Descriptor) => IO[E, A])(implicit trace: ZTraceElement): IO[E, A]
- See also
- def die(t: => Throwable)(implicit trace: ZTraceElement): UIO[Nothing]
- See also
See zio.ZIO.die
- def dieMessage(message: => String)(implicit trace: ZTraceElement): UIO[Nothing]
- See also
- def done[E, A](r: => Exit[E, A])(implicit trace: ZTraceElement): IO[E, A]
- See also
See zio.ZIO.done
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def executor(implicit trace: ZTraceElement): UIO[Executor]
- See also
See zio.ZIO.executor
- def exists[E, A](as: => Iterable[A])(f: (A) => IO[E, Boolean])(implicit trace: ZTraceElement): IO[E, Boolean]
- See also
See zio.ZIO.exists
- def fail[E](error: => E)(implicit trace: ZTraceElement): IO[E, Nothing]
- See also
See zio.ZIO.fail
- def failCause[E](cause: => Cause[E])(implicit trace: ZTraceElement): IO[E, Nothing]
- See also
- def fiberId(implicit trace: ZTraceElement): UIO[FiberId]
- See also
- def filter[E, A](as: Set[A])(f: (A) => IO[E, Boolean])(implicit trace: ZTraceElement): IO[E, Set[A]]
- See also
- def filter[E, A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) => IO[E, Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]], trace: ZTraceElement): IO[E, Collection[A]]
- See also
- def filterNot[E, A](as: Set[A])(f: (A) => IO[E, Boolean])(implicit trace: ZTraceElement): IO[E, Set[A]]
- See also
- def filterNot[E, A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) => IO[E, Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]], trace: ZTraceElement): IO[E, Collection[A]]
- See also
- def filterNotPar[E, A](as: Set[A])(f: (A) => IO[E, Boolean])(implicit trace: ZTraceElement): IO[E, Set[A]]
- See also
- def filterNotPar[E, A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) => IO[E, Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]], trace: ZTraceElement): IO[E, Collection[A]]
- def filterPar[E, A](as: Set[A])(f: (A) => IO[E, Boolean])(implicit trace: ZTraceElement): IO[E, Set[A]]
- See also
- def filterPar[E, A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) => IO[E, Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]], trace: ZTraceElement): IO[E, Collection[A]]
- See also
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def firstSuccessOf[E, A](io: => IO[E, A], rest: => Iterable[IO[E, A]])(implicit trace: ZTraceElement): IO[E, A]
- See also
- def flatten[E, A](io: => IO[E, IO[E, A]])(implicit trace: ZTraceElement): IO[E, A]
- See also
See zio.ZIO.flatten
- def foldLeft[E, S, A](in: => Iterable[A])(zero: => S)(f: (S, A) => IO[E, S])(implicit trace: ZTraceElement): IO[E, S]
- See also
See zio.ZIO.foldLeft
- def foldRight[E, S, A](in: => Iterable[A])(zero: => S)(f: (A, S) => IO[E, S])(implicit trace: ZTraceElement): IO[E, S]
- See also
- def forall[E, A](as: => Iterable[A])(f: (A) => IO[E, Boolean])(implicit trace: ZTraceElement): IO[E, Boolean]
- See also
See zio.ZIO.forall
- def foreach[E, A, B](in: NonEmptyChunk[A])(f: (A) => IO[E, B])(implicit trace: ZTraceElement): IO[E, NonEmptyChunk[B]]
- See also
- def foreach[E, A, B](in: Option[A])(f: (A) => IO[E, B])(implicit trace: ZTraceElement): IO[E, Option[B]]
- See also
- def foreach[E, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) => IO[E, (Key2, Value2)])(implicit trace: ZTraceElement): IO[E, Map[Key2, Value2]]
- See also
- def foreach[E, A, B](in: Array[A])(f: (A) => IO[E, B])(implicit arg0: ClassTag[B], trace: ZTraceElement): IO[E, Array[B]]
- See also
- def foreach[E, A, B](in: Set[A])(f: (A) => IO[E, B])(implicit trace: ZTraceElement): IO[E, Set[B]]
- See also
- def foreach[E, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) => IO[E, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], trace: ZTraceElement): IO[E, Collection[B]]
- def foreachDiscard[E, A](as: => Iterable[A])(f: (A) => IO[E, Any])(implicit trace: ZTraceElement): IO[E, Unit]
- See also
- final def foreachExec[E, A, B, Collection[+Element] <: Iterable[Element]](as: Collection[A])(exec: => ExecutionStrategy)(f: (A) => IO[E, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], trace: ZTraceElement): IO[E, Collection[B]]
- See also
- def foreachPar[E, A, B](as: NonEmptyChunk[A])(fn: (A) => IO[E, B])(implicit trace: ZTraceElement): IO[E, NonEmptyChunk[B]]
- See also
- def foreachPar[E, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) => IO[E, (Key2, Value2)])(implicit trace: ZTraceElement): IO[E, Map[Key2, Value2]]
- def foreachPar[E, A, B](as: Array[A])(fn: (A) => IO[E, B])(implicit arg0: ClassTag[B], trace: ZTraceElement): IO[E, Array[B]]
- See also
- def foreachPar[E, A, B](as: Set[A])(fn: (A) => IO[E, B])(implicit trace: ZTraceElement): IO[E, Set[B]]
- See also
- def foreachPar[E, A, B, Collection[+Element] <: Iterable[Element]](as: Collection[A])(fn: (A) => IO[E, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], trace: ZTraceElement): IO[E, Collection[B]]
- def foreachParDiscard[E, A, B](as: => Iterable[A])(f: (A) => IO[E, Any])(implicit trace: ZTraceElement): IO[E, Unit]
- See also
- def forkAll[E, A, Collection[+Element] <: Iterable[Element]](as: Collection[IO[E, A]])(implicit bf: zio.BuildFrom[Collection[IO[E, A]], A, Collection[A]], trace: ZTraceElement): UIO[Fiber[E, Collection[A]]]
- See also
See zio.ZIO.forkAll
- def forkAllDiscard[E, A](as: => Iterable[IO[E, A]])(implicit trace: ZTraceElement): UIO[Unit]
- See also
- def from[Input](input: => Input)(implicit constructor: ZIOConstructor[Any, Any, Input], trace: ZTraceElement): ZIO[OutEnvironment, OutError, OutSuccess]
Constructs a
IO
value of the appropriate type for the specified input. - def fromEither[E, A](v: => Either[E, A])(implicit trace: ZTraceElement): IO[E, A]
- See also
- def fromFiber[E, A](fiber: => Fiber[E, A])(implicit trace: ZTraceElement): IO[E, A]
- See also
- def fromFiberZIO[E, A](fiber: => IO[E, Fiber[E, A]])(implicit trace: ZTraceElement): IO[E, A]
- See also
- def fromFuture[A](make: (ExecutionContext) => Future[A])(implicit trace: ZTraceElement): Task[A]
- See also
- def fromFutureInterrupt[A](make: (ExecutionContext) => Future[A])(implicit trace: ZTraceElement): Task[A]
- See also
- def fromOption[A](v: => Option[A])(implicit trace: ZTraceElement): IO[Option[Nothing], A]
- See also
- def fromTry[A](value: => Try[A])(implicit trace: ZTraceElement): Task[A]
- See also
See zio.ZIO.fromTry
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getOrFailUnit[A](v: => Option[A])(implicit trace: ZTraceElement): IO[Unit, A]
- See also
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def ifZIO[E](b: => IO[E, Boolean]): IfZIO[Any, E]
- See also
- def interrupt(implicit trace: ZTraceElement): UIO[Nothing]
- See also
- def interruptAs(fiberId: => FiberId)(implicit trace: ZTraceElement): UIO[Nothing]
- See also
- def interruptible[E, A](io: => IO[E, A])(implicit trace: ZTraceElement): IO[E, A]
- See also
- def interruptibleMask[E, A](k: (InterruptStatusRestore) => IO[E, A])(implicit trace: ZTraceElement): IO[E, A]
- See also
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def iterate[E, S](initial: => S)(cont: (S) => Boolean)(body: (S) => IO[E, S])(implicit trace: ZTraceElement): IO[E, S]
- See also
See zio.ZIO.iterate
- def left[E, A](a: => A)(implicit trace: ZTraceElement): IO[E, Either[A, Nothing]]
- See also
See zio.ZIO.left
- def loop[E, A, S](initial: => S)(cont: (S) => Boolean, inc: (S) => S)(body: (S) => IO[E, A])(implicit trace: ZTraceElement): IO[E, List[A]]
- See also
See zio.ZIO.loop
- def loopDiscard[E, S](initial: => S)(cont: (S) => Boolean, inc: (S) => S)(body: (S) => IO[E, Any])(implicit trace: ZTraceElement): IO[E, Unit]
- See also
- def memoize[E, A, B](f: (A) => IO[E, B])(implicit trace: ZTraceElement): UIO[(A) => IO[E, B]]
- See also
See zio.ZIO.memoize
- def mergeAll[E, A, B](in: => Iterable[IO[E, A]])(zero: => B)(f: (B, A) => B)(implicit trace: ZTraceElement): IO[E, B]
- See also
See zio.ZIO.mergeAll
- def mergeAllPar[E, A, B](in: => Iterable[IO[E, A]])(zero: => B)(f: (B, A) => B)(implicit trace: ZTraceElement): IO[E, B]
- See also
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def never(implicit trace: ZTraceElement): UIO[Nothing]
- See also
See zio.ZIO.never
- val none: UIO[Option[Nothing]]
- See also
See zio.ZIO.none
- def noneOrFail[E](o: => Option[E])(implicit trace: ZTraceElement): IO[E, Unit]
- See also
- def noneOrFailWith[E, O](o: => Option[O])(f: (O) => E)(implicit trace: ZTraceElement): IO[E, Unit]
- See also
- def not[E](effect: => IO[E, Boolean])(implicit trace: ZTraceElement): IO[E, Boolean]
- See also
See zio.ZIO.not
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def onExecutor[E, A](executor: => Executor)(io: IO[E, A])(implicit trace: ZTraceElement): IO[E, A]
- See also
- def partition[E, A, B](in: => Iterable[A])(f: (A) => IO[E, B])(implicit ev: CanFail[E], trace: ZTraceElement): UIO[(Iterable[E], Iterable[B])]
- See also
- def partitionPar[E, A, B](in: => Iterable[A])(f: (A) => IO[E, B])(implicit ev: CanFail[E], trace: ZTraceElement): UIO[(Iterable[E], Iterable[B])]
- See also
- def raceAll[E, A](io: => IO[E, A], ios: => Iterable[IO[E, A]])(implicit trace: ZTraceElement): IO[E, A]
- See also
See zio.ZIO.raceAll
- def reduceAll[E, A](a: => IO[E, A], as: => Iterable[IO[E, A]])(f: (A, A) => A)(implicit trace: ZTraceElement): IO[E, A]
- See also
- def reduceAllPar[E, A](a: => IO[E, A], as: => Iterable[IO[E, A]])(f: (A, A) => A)(implicit trace: ZTraceElement): IO[E, A]
- See also
- def replicate[E, A](n: => Int)(effect: => IO[E, A])(implicit trace: ZTraceElement): Iterable[IO[E, A]]
- See also
- def replicateZIO[E, A](n: => Int)(effect: => IO[E, A])(implicit trace: ZTraceElement): IO[E, Iterable[A]]
- See also
- def replicateZIODiscard[E, A](n: => Int)(effect: => IO[E, A])(implicit trace: ZTraceElement): IO[E, Unit]
- See also
- def reserve[E, A, B](reservation: => IO[E, Reservation[Any, E, A]])(use: (A) => IO[E, B])(implicit trace: ZTraceElement): IO[E, B]
- See also
See zio.ZIO.reserve
- def right[E, B](b: => B)(implicit trace: ZTraceElement): IO[E, Either[Nothing, B]]
- See also
- def runtime(implicit trace: ZTraceElement): UIO[Runtime[Any]]
- See also
See zio.ZIO.runtime
- def runtimeConfig(implicit trace: ZTraceElement): UIO[RuntimeConfig]
- See also
- def some[E, A](a: => A)(implicit trace: ZTraceElement): IO[E, Option[A]]
- See also
- def succeed[A](a: => A)(implicit trace: ZTraceElement): UIO[A]
- See also
See zio.ZIO.succeed
- def succeedBlocking[A](a: => A)(implicit trace: ZTraceElement): UIO[A]
- See also
- def suspend[A](io: => IO[Throwable, A])(implicit trace: ZTraceElement): IO[Throwable, A]
- See also
- def suspendSucceed[E, A](io: => IO[E, A])(implicit trace: ZTraceElement): IO[E, A]
- See also
- def suspendSucceedWith[E, A](f: (RuntimeConfig, FiberId) => IO[E, A])(implicit trace: ZTraceElement): IO[E, A]
- See also
- def suspendWith[A](f: (RuntimeConfig, FiberId) => IO[Throwable, A])(implicit trace: ZTraceElement): IO[Throwable, A]
- See also
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def trace(implicit trace: ZTraceElement): UIO[ZTrace]
- See also
See zio.ZIO.trace
- def uninterruptible[E, A](io: => IO[E, A])(implicit trace: ZTraceElement): IO[E, A]
- See also
- def uninterruptibleMask[E, A](k: (InterruptStatusRestore) => IO[E, A])(implicit trace: ZTraceElement): IO[E, A]
- See also
- val unit: UIO[Unit]
- See also
See zio.ZIO.unit
- def unless[E, A](b: => Boolean)(zio: => IO[E, A])(implicit trace: ZTraceElement): IO[E, Option[A]]
- See also
See zio.ZIO.unless
- def unlessZIO[E](b: => IO[E, Boolean]): UnlessZIO[Any, E]
- See also
- def unsandbox[E, A](v: => IO[Cause[E], A])(implicit trace: ZTraceElement): IO[E, A]
- See also
- def validate[E, A, B](in: NonEmptyChunk[A])(f: (A) => IO[E, B])(implicit ev: CanFail[E], trace: ZTraceElement): IO[::[E], NonEmptyChunk[B]]
- See also
- def validate[E, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) => IO[E, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], ev: CanFail[E], trace: ZTraceElement): IO[::[E], Collection[B]]
- def validateDiscard[E, A](in: => Iterable[A])(f: (A) => IO[E, Any])(implicit ev: CanFail[E], trace: ZTraceElement): IO[::[E], Unit]
- See also
- def validateFirst[E, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) => IO[E, B])(implicit bf: zio.BuildFrom[Collection[A], E, Collection[E]], ev: CanFail[E], trace: ZTraceElement): IO[Collection[E], B]
- See also
- def validateFirstPar[E, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) => IO[E, B])(implicit bf: zio.BuildFrom[Collection[A], E, Collection[E]], ev: CanFail[E], trace: ZTraceElement): IO[Collection[E], B]
- See also
- def validatePar[E, A, B](in: NonEmptyChunk[A])(f: (A) => IO[E, B])(implicit ev: CanFail[E], trace: ZTraceElement): IO[::[E], NonEmptyChunk[B]]
- See also
- def validatePar[E, A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) => IO[E, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], ev: CanFail[E], trace: ZTraceElement): IO[::[E], Collection[B]]
- def validateParDiscard[E, A](in: => Iterable[A])(f: (A) => IO[E, Any])(implicit ev: CanFail[E], trace: ZTraceElement): IO[::[E], Unit]
- See also
- 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()
- def when[E, A](b: => Boolean)(io: => IO[E, A])(implicit trace: ZTraceElement): IO[E, Option[A]]
- See also
See zio.ZIO.when
- def whenCase[E, A, B](a: => A)(pf: PartialFunction[A, IO[E, B]])(implicit trace: ZTraceElement): IO[E, Option[B]]
- See also
See zio.ZIO.whenCase
- def whenCaseZIO[E, A, B](a: => IO[E, A])(pf: PartialFunction[A, IO[E, B]])(implicit trace: ZTraceElement): IO[E, Option[B]]
- See also
- def whenZIO[E](b: => IO[E, Boolean]): WhenZIO[Any, E]
- See also
See zio.ZIO.whenZIO
- def withRuntimeConfig[E, A](runtimeConfig: => RuntimeConfig)(io: => IO[E, A])(implicit trace: ZTraceElement): IO[E, A]
- See also
- def yieldNow(implicit trace: ZTraceElement): UIO[Unit]
- See also
See zio.ZIO.yieldNow
Deprecated Value Members
- def bracket[E, A, B](acquire: => IO[E, A], release: (A) => UIO[Any], use: (A) => IO[E, B])(implicit trace: ZTraceElement): IO[E, B]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use acquireReleaseWith
- See also
See bracket zio.ZIO
- def bracket[E, A](acquire: => IO[E, A]): Acquire[Any, E, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use acquireReleaseWith
- See also
See bracket zio.ZIO
- def bracketExit[E, A, B](acquire: => IO[E, A], release: (A, Exit[E, B]) => UIO[Any], use: (A) => IO[E, B])(implicit trace: ZTraceElement): IO[E, B]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use acquireReleaseExitWith
- See also
See bracketExit zio.ZIO
- def bracketExit[E, A](acquire: => IO[E, A]): AcquireExit[Any, E, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use acquireReleaseExitWith
- See also
See bracketExit zio.ZIO
- def collectAllParN[E, A, Collection[+Element] <: Iterable[Element]](n: => Int)(as: Collection[IO[E, A]])(implicit bf: zio.BuildFrom[Collection[IO[E, A]], A, Collection[A]], trace: ZTraceElement): IO[E, Collection[A]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllPar
- See also
- def collectAllParNDiscard[E, A](n: => Int)(as: => Iterable[IO[E, A]])(implicit trace: ZTraceElement): IO[E, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllParDiscard
- See also
- def collectAllParN_[E, A](n: => Int)(as: => Iterable[IO[E, A]])(implicit trace: ZTraceElement): IO[E, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllParDiscard
- See also
- def collectAllPar_[E, A](in: => Iterable[IO[E, A]])(implicit trace: ZTraceElement): IO[E, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllParDiscard
- See also
- def collectAllSuccessesParN[E, A, Collection[+Element] <: Iterable[Element]](n: => Int)(as: Collection[IO[E, A]])(implicit bf: zio.BuildFrom[Collection[IO[E, A]], A, Collection[A]], trace: ZTraceElement): UIO[Collection[A]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllSuccessesPar
- See also
- def collectAllWithParN[E, A, B, Collection[+Element] <: Iterable[Element]](n: => Int)(as: Collection[IO[E, A]])(f: PartialFunction[A, B])(implicit bf: zio.BuildFrom[Collection[IO[E, A]], B, Collection[B]], trace: ZTraceElement): IO[E, Collection[B]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllWithPar
- See also
- def collectAll_[E, A](in: => Iterable[IO[E, A]])(implicit trace: ZTraceElement): IO[E, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectAllDiscard
- See also
- def collectParN[E, A, B, Collection[+Element] <: Iterable[Element]](n: => Int)(in: Collection[A])(f: (A) => IO[Option[E], B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], trace: ZTraceElement): IO[E, Collection[B]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use collectPar
- See also
- def effect[A](effect: => A)(implicit trace: ZTraceElement): Task[A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use attempt
- See also
See zio.ZIO.effect
- def effectAsync[E, A](register: ((IO[E, A]) => Unit) => Any, blockingOn: => FiberId = FiberId.None)(implicit trace: ZTraceElement): IO[E, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use async
- See also
- def effectAsyncInterrupt[E, A](register: ((IO[E, A]) => Unit) => Either[Canceler[Any], IO[E, A]], blockingOn: => FiberId = FiberId.None)(implicit trace: ZTraceElement): IO[E, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use asyncInterrupt
- See also
- def effectAsyncM[E, A](register: ((IO[E, A]) => Unit) => IO[E, Any])(implicit trace: ZTraceElement): IO[E, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use asyncZIO
- See also
- def effectAsyncMaybe[E, A](register: ((IO[E, A]) => Unit) => Option[IO[E, A]], blockingOn: => FiberId = FiberId.None)(implicit trace: ZTraceElement): IO[E, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use asyncMaybe
- See also
- def effectBlocking[A](effect: => A)(implicit trace: ZTraceElement): Task[A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use attemptBlocking
- See also
- def effectBlockingCancelable[A](effect: => A)(cancel: => UIO[Any])(implicit trace: ZTraceElement): Task[A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use attemptBlockingCancelable
- See also
- def effectBlockingIO[A](effect: => A)(implicit trace: ZTraceElement): IO[IOException, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use attemptBlockingIO
- See also
- def effectBlockingInterrupt[A](effect: => A)(implicit trace: ZTraceElement): Task[A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use attemptBlockingInterrupt
- See also
- def effectSuspend[A](io: => IO[Throwable, A])(implicit trace: ZTraceElement): IO[Throwable, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use suspend
- See also
- def effectSuspendTotal[E, A](io: => IO[E, A])(implicit trace: ZTraceElement): IO[E, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use suspendSucceed
- See also
- def effectSuspendTotalWith[E, A](p: (Platform, Id) => IO[E, A])(implicit trace: ZTraceElement): IO[E, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use suspendSucceedWith
- See also
- def effectSuspendWith[A](p: (Platform, Id) => IO[Throwable, A])(implicit trace: ZTraceElement): IO[Throwable, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use suspendWith
- See also
- def effectTotal[A](effect: => A)(implicit trace: ZTraceElement): UIO[A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use succeed
- See also
- def foreachParN[E, A, B, Collection[+Element] <: Iterable[Element]](n: => Int)(as: Collection[A])(fn: (A) => IO[E, B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]], trace: ZTraceElement): IO[E, Collection[B]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use foreachPar
- See also
- def foreachParNDiscard[E, A, B](n: => Int)(as: => Iterable[A])(f: (A) => IO[E, Any])(implicit trace: ZTraceElement): IO[E, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use foreachParDiscard
- See also
- def foreachParN_[E, A, B](n: => Int)(as: => Iterable[A])(f: (A) => IO[E, Any])(implicit trace: ZTraceElement): IO[E, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use foreachParDiscard
- See also
- def foreachPar_[E, A, B](as: => Iterable[A])(f: (A) => IO[E, Any])(implicit trace: ZTraceElement): IO[E, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use foreachParDiscard
- See also
- def foreach_[E, A](as: => Iterable[A])(f: (A) => IO[E, Any])(implicit trace: ZTraceElement): IO[E, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use foreachDiscard
- See also
See zio.ZIO.foreach_
- def forkAll_[E, A](as: => Iterable[IO[E, A]])(implicit trace: ZTraceElement): UIO[Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use forkAllDiscard
- See also
See zio.ZIO.forkAll_
- def fromFiberM[E, A](fiber: => IO[E, Fiber[E, A]])(implicit trace: ZTraceElement): IO[E, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use fromFiberZIO
- See also
- def halt[E](cause: => Cause[E])(implicit trace: ZTraceElement): IO[E, Nothing]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use failCause
- See also
See zio.ZIO.halt
- def ifM[E](b: => IO[E, Boolean]): IfZIO[Any, E]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use ifZIO
- See also
- def lock[E, A](executor: => Executor)(io: => IO[E, A])(implicit trace: ZTraceElement): IO[E, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use onExecutor
- See also
See zio.ZIO.lock
- def loop_[E, S](initial: => S)(cont: (S) => Boolean, inc: (S) => S)(body: (S) => IO[E, Any])(implicit trace: ZTraceElement): IO[E, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use loopDiscard
- See also
See zio.ZIO.loop_
- def mapN[E, A, B, C, D, F](io1: => IO[E, A], io2: => IO[E, B], io3: => IO[E, C], io4: => IO[E, D])(f: (A, B, C, D) => F)(implicit trace: ZTraceElement): IO[E, F]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use zip
- See also
- def mapN[E, A, B, C, D](io1: => IO[E, A], io2: => IO[E, B], io3: => IO[E, C])(f: (A, B, C) => D)(implicit trace: ZTraceElement): IO[E, D]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use zip
- See also
- def mapN[E, A, B, C](io1: => IO[E, A], io2: => IO[E, B])(f: (A, B) => C)(implicit trace: ZTraceElement): IO[E, C]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use zip
- See also
- def mapParN[E, A, B, C, D, F](io1: => IO[E, A], io2: => IO[E, B], io3: => IO[E, C], io4: => IO[E, D])(f: (A, B, C, D) => F)(implicit trace: ZTraceElement): IO[E, F]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use zipPar
- See also
- def mapParN[E, A, B, C, D](io1: => IO[E, A], io2: => IO[E, B], io3: => IO[E, C])(f: (A, B, C) => D)(implicit trace: ZTraceElement): IO[E, D]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use zipPar
- See also
- def mapParN[E, A, B, C](io1: => IO[E, A], io2: => IO[E, B])(f: (A, B) => C)(implicit trace: ZTraceElement): IO[E, C]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use zipPar
- See also
- def partitionParN[E, A, B](n: => Int)(in: => Iterable[A])(f: (A) => IO[E, B])(implicit ev: CanFail[E], trace: ZTraceElement): UIO[(Iterable[E], Iterable[B])]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use partitionPar
- See also
- def replicateM[E, A](n: => Int)(effect: => IO[E, A])(implicit trace: ZTraceElement): IO[E, Iterable[A]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use replicateZIO
- See also
- def replicateM_[E, A](n: => Int)(effect: => IO[E, A])(implicit trace: ZTraceElement): IO[E, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use replicateZIODiscard
- See also
- def require[E, A](error: => E)(implicit trace: ZTraceElement): (IO[E, Option[A]]) => IO[E, A]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use someOrFail
- See also
See zio.ZIO.require
- def unlessM[E](b: => IO[E, Boolean]): UnlessZIO[Any, E]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use unlessZIO
- See also
See zio.ZIO.unlessM
- def validatePar_[E, A](in: => Iterable[A])(f: (A) => IO[E, Any])(implicit ev: CanFail[E], trace: ZTraceElement): IO[::[E], Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use validateParDiscard
- See also
- def validate_[E, A](in: => Iterable[A])(f: (A) => IO[E, Any])(implicit ev: CanFail[E], trace: ZTraceElement): IO[::[E], Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use validateDiscard
- See also
- def whenCaseM[E, A, B](a: => IO[E, A])(pf: PartialFunction[A, IO[E, B]])(implicit trace: ZTraceElement): IO[E, Option[B]]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use whenCaseZIO
- See also
- def whenM[E](b: => IO[E, Boolean]): WhenZIO[Any, E]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use whenZIO
- See also
See zio.ZIO.whenM