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
- 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
-
def
absolve[E, A](v: IO[E, Either[E, A]]): IO[E, A]
- See also
See zio.ZIO.absolve
-
def
allowInterrupt: UIO[Unit]
- See also
-
def
apply[A](a: ⇒ A): Task[A]
- See also
See zio.ZIO.apply
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
bracket[E, A, B](acquire: IO[E, A], release: (A) ⇒ UIO[Any], use: (A) ⇒ IO[E, B]): IO[E, B]
- See also
See bracket zio.ZIO
-
def
bracket[E, A](acquire: IO[E, A]): BracketAcquire[E, A]
- 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]): IO[E, B]
- See also
See bracketExit zio.ZIO
-
def
bracketExit[E, A](acquire: IO[E, A]): BracketExitAcquire[Any, E, A]
- See also
See bracketExit zio.ZIO
-
def
checkInterruptible[E, A](f: (InterruptStatus) ⇒ IO[E, A]): IO[E, A]
- See also
-
def
checkTraced[E, A](f: (TracingStatus) ⇒ IO[E, A]): IO[E, A]
- See also
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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]]): IO[E, Collection[B]]
- See also
See zio.ZIO.collect
-
def
collectAll[E, A](in: NonEmptyChunk[IO[E, A]]): IO[E, NonEmptyChunk[A]]
- See also
-
def
collectAll[E, A](in: Set[IO[E, A]]): 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]]): IO[E, Collection[A]]
- def collectAllPar[E, A](as: NonEmptyChunk[IO[E, A]]): IO[E, NonEmptyChunk[A]]
-
def
collectAllPar[E, A](as: Set[IO[E, A]]): 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]]): IO[E, Collection[A]]
-
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]]): IO[E, Collection[A]]
- See also
-
def
collectAllParN_[E, A](n: Int)(as: Iterable[IO[E, A]]): IO[E, Unit]
- See also
-
def
collectAllPar_[E, A](in: Iterable[IO[E, A]]): 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]]): 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]]): UIO[Collection[A]]
- 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]]): 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]]): 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]]): IO[E, Collection[B]]
- 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]]): IO[E, Collection[B]]
- See also
-
def
collectAll_[E, A](in: Iterable[IO[E, A]]): IO[E, Unit]
- See also
-
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]]): IO[E, Collection[B]]
- 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]]): IO[E, Collection[B]]
- See also
-
def
cond[E, A](predicate: Boolean, result: ⇒ A, error: ⇒ E): IO[E, A]
- See also
See zio.ZIO.cond
-
def
descriptor: UIO[Descriptor]
- See also
-
def
descriptorWith[E, A](f: (Descriptor) ⇒ IO[E, A]): IO[E, A]
- See also
-
def
die(t: ⇒ Throwable): UIO[Nothing]
- See also
See zio.ZIO.die
-
def
dieMessage(message: ⇒ String): UIO[Nothing]
- See also
-
def
done[E, A](r: ⇒ Exit[E, A]): IO[E, A]
- See also
See zio.ZIO.done
-
def
effect[A](effect: ⇒ A): Task[A]
- See also
See zio.ZIO.effect
-
def
effectAsync[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ Any, blockingOn: List[Id] = Nil): IO[E, A]
- See also
-
def
effectAsyncInterrupt[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ Either[Canceler[Any], IO[E, A]], blockingOn: List[Id] = Nil): IO[E, A]
- See also
-
def
effectAsyncM[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ IO[E, Any]): IO[E, A]
- See also
-
def
effectAsyncMaybe[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ Option[IO[E, A]], blockingOn: List[Id] = Nil): IO[E, A]
- See also
-
def
effectSuspend[A](io: ⇒ IO[Throwable, A]): IO[Throwable, A]
- See also
-
def
effectSuspendTotal[E, A](io: ⇒ IO[E, A]): IO[E, A]
- See also
-
def
effectSuspendTotalWith[E, A](p: (Platform, Id) ⇒ IO[E, A]): IO[E, A]
- See also
-
def
effectSuspendWith[A](p: (Platform, Id) ⇒ IO[Throwable, A]): IO[Throwable, A]
- See also
-
def
effectTotal[A](effect: ⇒ A): UIO[A]
- See also
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fail[E](error: ⇒ E): IO[E, Nothing]
- See also
See zio.ZIO.fail
-
val
fiberId: UIO[Id]
- 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]]): IO[E, Collection[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]]): IO[E, Collection[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]]): IO[E, Collection[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]]): 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]]): IO[E, A]
- See also
-
def
flatten[E, A](io: IO[E, IO[E, A]]): 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]): 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]): IO[E, S]
- See also
-
def
foreach[E, A, B](in: NonEmptyChunk[A])(f: (A) ⇒ IO[E, B]): IO[E, NonEmptyChunk[B]]
- See also
-
def
foreach[E, A, B](in: Option[A])(f: (A) ⇒ IO[E, B]): IO[E, Option[B]]
- See also
-
def
foreach[E, A, B](in: Set[A])(f: (A) ⇒ IO[E, B]): 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]]): IO[E, Collection[B]]
-
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]]): IO[E, Collection[B]]
- See also
- def foreachPar[E, A, B](as: NonEmptyChunk[A])(fn: (A) ⇒ IO[E, B]): IO[E, NonEmptyChunk[B]]
-
def
foreachPar[E, A, B](as: Set[A])(fn: (A) ⇒ IO[E, B]): 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]]): IO[E, Collection[B]]
-
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]]): IO[E, Collection[B]]
- See also
-
def
foreachParN_[E, A, B](n: Int)(as: Iterable[A])(f: (A) ⇒ IO[E, Any]): IO[E, Unit]
- See also
-
def
foreachPar_[E, A, B](as: Iterable[A])(f: (A) ⇒ IO[E, Any]): IO[E, Unit]
- See also
-
def
foreach_[E, A](as: Iterable[A])(f: (A) ⇒ IO[E, Any]): 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]]): UIO[Fiber[E, Collection[A]]]
- See also
See zio.ZIO.forkAll
-
def
forkAll_[E, A](as: Iterable[IO[E, A]]): UIO[Unit]
- See also
See zio.ZIO.forkAll_
-
def
fromEither[E, A](v: ⇒ Either[E, A]): IO[E, A]
- See also
-
def
fromFiber[E, A](fiber: ⇒ Fiber[E, A]): IO[E, A]
- See also
-
def
fromFiberM[E, A](fiber: IO[E, Fiber[E, A]]): IO[E, A]
- See also
-
def
fromFunction[A](f: (Any) ⇒ A): IO[Nothing, A]
- See also
-
def
fromFunctionFuture[A](f: (Any) ⇒ Future[A]): Task[A]
- See also
-
def
fromFunctionM[E, A](f: (Any) ⇒ IO[E, A]): IO[E, A]
- See also
-
def
fromFuture[A](make: (ExecutionContext) ⇒ Future[A]): Task[A]
- See also
-
def
fromFutureInterrupt[A](make: (ExecutionContext) ⇒ Future[A]): Task[A]
- See also
-
def
fromOption[A](v: ⇒ Option[A]): IO[Option[Nothing], A]
- See also
-
def
fromTry[A](value: ⇒ Try[A]): Task[A]
- See also
See zio.ZIO.fromTry
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
halt[E](cause: ⇒ Cause[E]): IO[E, Nothing]
- See also
See zio.ZIO.halt
-
def
haltWith[E](function: (() ⇒ ZTrace) ⇒ Cause[E]): IO[E, Nothing]
- See also
See zio.ZIO.haltWith
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
identity: IO[Nothing, Any]
- See also
-
def
ifM[E](b: IO[E, Boolean]): IfM[Any, E]
- See also
-
val
interrupt: UIO[Nothing]
- See also
-
def
interruptAs(fiberId: ⇒ Id): UIO[Nothing]
- See also
-
def
interruptible[E, A](io: IO[E, A]): IO[E, A]
- See also
-
def
interruptibleMask[E, A](k: (InterruptStatusRestore) ⇒ IO[E, A]): 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]): IO[E, S]
- See also
See zio.ZIO.iterate
-
def
left[E, A](a: ⇒ A): IO[E, Either[A, Nothing]]
- See also
See zio.ZIO.left
-
def
lock[E, A](executor: ⇒ Executor)(io: IO[E, A]): IO[E, A]
- See also
See zio.ZIO.lock
-
def
loop[E, A, S](initial: S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ IO[E, A]): IO[E, List[A]]
- See also
See zio.ZIO.loop
-
def
loop_[E, S](initial: S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ IO[E, Any]): IO[E, Unit]
- 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): IO[E, F]
- 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): IO[E, D]
- See also
-
def
mapN[E, A, B, C](io1: IO[E, A], io2: IO[E, B])(f: (A, B) ⇒ C): IO[E, C]
- 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): IO[E, F]
- 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): IO[E, D]
- See also
-
def
mapParN[E, A, B, C](io1: IO[E, A], io2: IO[E, B])(f: (A, B) ⇒ C): IO[E, C]
- See also
-
def
memoize[E, A, B](f: (A) ⇒ IO[E, B]): 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): 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): IO[E, B]
- See also
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
never: UIO[Nothing]
- See also
See zio.ZIO.never
-
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()
-
def
partition[E, A, B](in: Iterable[A])(f: (A) ⇒ IO[E, B])(implicit ev: CanFail[E]): UIO[(Iterable[E], Iterable[B])]
- See also
-
def
partitionPar[E, A, B](in: Iterable[A])(f: (A) ⇒ IO[E, B])(implicit ev: CanFail[E]): UIO[(Iterable[E], Iterable[B])]
- See also
-
def
partitionParN[E, A, B](n: Int)(in: Iterable[A])(f: (A) ⇒ IO[E, B])(implicit ev: CanFail[E]): UIO[(Iterable[E], Iterable[B])]
- See also
-
def
raceAll[E, A](io: IO[E, A], ios: Iterable[IO[E, A]]): 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): IO[E, A]
- See also
-
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
-
def
require[E, A](error: ⇒ E): (IO[E, Option[A]]) ⇒ IO[E, A]
- See also
See zio.ZIO.require
-
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
-
def
runtime: UIO[Runtime[Any]]
- See also
See zio.ZIO.runtime
-
def
some[E, A](a: ⇒ A): IO[E, Option[A]]
- See also
-
def
succeed[A](a: ⇒ A): UIO[A]
- See also
See zio.ZIO.succeed
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
trace: UIO[ZTrace]
- See also
See zio.ZIO.trace
-
def
traced[E, A](zio: IO[E, A]): IO[E, A]
- See also
See zio.ZIO.traced
-
def
uninterruptible[E, A](io: IO[E, A]): IO[E, A]
- See also
-
def
uninterruptibleMask[E, A](k: (InterruptStatusRestore) ⇒ IO[E, A]): IO[E, A]
- See also
-
val
unit: UIO[Unit]
- See also
See zio.ZIO.unit
-
def
unless[E](b: ⇒ Boolean)(zio: ⇒ IO[E, Any]): IO[E, Unit]
- See also
See zio.ZIO.unless
-
def
unlessM[E](b: IO[E, Boolean]): UnlessM[Any, E]
- See also
See zio.ZIO.unlessM
-
def
unsandbox[E, A](v: IO[Cause[E], A]): IO[E, A]
- See also
-
def
untraced[E, A](zio: IO[E, A]): IO[E, A]
- See also
See zio.ZIO.untraced
-
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]): IO[::[E], Collection[B]]
- See also
See zio.ZIO.validate
-
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]): 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]): IO[Collection[E], 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]): IO[::[E], Collection[B]]
- See also
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
when[E](b: ⇒ Boolean)(io: ⇒ IO[E, Any]): IO[E, Unit]
- See also
See zio.ZIO.when
-
def
whenCase[E, A](a: ⇒ A)(pf: PartialFunction[A, IO[E, Any]]): IO[E, Unit]
- See also
See zio.ZIO.whenCase
-
def
whenCaseM[E, A](a: IO[E, A])(pf: PartialFunction[A, IO[E, Any]]): IO[E, Unit]
- See also
-
def
whenM[E](b: IO[E, Boolean]): WhenM[Any, E]
- See also
See zio.ZIO.whenM
-
val
yieldNow: UIO[Unit]
- See also
See zio.ZIO.yieldNow