object
IO
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
absolve[E, A](v: IO[E, Either[E, A]]): IO[E, A]
-
-
def
allowInterrupt: UIO[Unit]
-
def
apply[A](a: ⇒ A): Task[A]
-
final
def
asInstanceOf[T0]: T0
-
val
awaitAllChildren: UIO[Unit]
-
def
bracket[E, A, B](acquire: IO[E, A], release: (A) ⇒ UIO[Any], use: (A) ⇒ IO[E, B]): IO[E, B]
-
def
bracket[E, A](acquire: IO[E, A]): BracketAcquire[E, A]
-
def
bracketExit[E, A, B](acquire: IO[E, A], release: (A, Exit[E, B]) ⇒ UIO[Any], use: (A) ⇒ IO[E, B]): IO[E, B]
-
def
bracketExit[E, A](acquire: IO[E, A]): BracketExitAcquire[Any, E, A]
-
def
checkInterruptible[E, A](f: (InterruptStatus) ⇒ IO[E, A]): IO[E, A]
-
def
checkTraced[E, A](f: (TracingStatus) ⇒ IO[E, A]): IO[E, A]
-
def
children: UIO[Iterable[Fiber[Any, Any]]]
-
def
clone(): AnyRef
-
def
collectAll[E, A](in: Iterable[IO[E, A]]): IO[E, List[A]]
-
def
collectAllPar[E, A](as: Iterable[IO[E, A]]): IO[E, List[A]]
-
def
collectAllParN[E, A](n: Int)(as: Iterable[IO[E, A]]): IO[E, List[A]]
-
def
collectAllSuccesses[E, A](in: Iterable[IO[E, A]]): IO[E, List[A]]
-
def
collectAllSuccessesPar[E, A](as: Iterable[IO[E, A]]): IO[E, List[A]]
-
def
collectAllSuccessesParN[E, A](n: Int)(as: Iterable[IO[E, A]]): IO[E, List[A]]
-
def
collectAllWith[E, A, B](in: Iterable[IO[E, A]])(f: PartialFunction[A, B]): IO[E, List[B]]
-
def
collectAllWithPar[E, A, B](as: Iterable[IO[E, A]])(f: PartialFunction[A, B]): IO[E, List[B]]
-
def
collectAllWithParN[E, A, B](n: Int)(as: Iterable[IO[E, A]])(f: PartialFunction[A, B]): IO[E, List[B]]
-
-
def
descriptorWith[E, A](f: (Descriptor) ⇒ IO[E, A]): IO[E, A]
-
def
die(t: ⇒ Throwable): UIO[Nothing]
-
def
dieMessage(message: ⇒ String): UIO[Nothing]
-
-
def
done[E, A](r: ⇒ Exit[E, A]): IO[E, A]
-
def
effect[A](effect: ⇒ A): Task[A]
-
def
effectAsync[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ Any, blockingOn: List[Id] = Nil): IO[E, A]
-
def
effectAsyncInterrupt[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ Either[Canceler[Any], IO[E, A]], blockingOn: List[Id] = Nil): IO[E, A]
-
def
effectAsyncM[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ IO[E, Any]): IO[E, A]
-
def
effectAsyncMaybe[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ Option[IO[E, A]], blockingOn: List[Id] = Nil): IO[E, A]
-
def
effectSuspend[A](io: ⇒ IO[Throwable, A]): IO[Throwable, A]
-
def
effectSuspendTotal[E, A](io: ⇒ IO[E, A]): IO[E, A]
-
def
effectSuspendTotalWith[E, A](p: (Platform, Id) ⇒ IO[E, A]): IO[E, A]
-
def
effectSuspendWith[A](p: (Platform, Id) ⇒ IO[Throwable, A]): IO[Throwable, A]
-
def
effectTotal[A](effect: ⇒ A): UIO[A]
-
-
-
def
fail[E](error: ⇒ E): IO[E, Nothing]
-
val
fiberId: UIO[Id]
-
def
filter[E, A](as: Iterable[A])(f: (A) ⇒ IO[E, Boolean]): IO[E, List[A]]
-
def
finalize(): Unit
-
def
firstSuccessOf[E, A](io: IO[E, A], rest: Iterable[IO[E, A]]): IO[E, A]
-
def
flatten[E, A](io: IO[E, IO[E, A]]): IO[E, A]
-
def
foldLeft[E, S, A](in: Iterable[A])(zero: S)(f: (S, A) ⇒ IO[E, S]): IO[E, S]
-
def
foldRight[E, S, A](in: Iterable[A])(zero: S)(f: (A, S) ⇒ IO[E, S]): IO[E, S]
-
final
def
foreach[E, A, B](in: Chunk[A])(f: (A) ⇒ IO[E, B]): IO[E, Chunk[B]]
-
final
def
foreach[E, A, B](in: Option[A])(f: (A) ⇒ IO[E, B]): IO[E, Option[B]]
-
def
foreach[E, A, B](in: Iterable[A])(f: (A) ⇒ IO[E, B]): IO[E, List[B]]
-
final
def
foreachPar[E, A, B](as: Chunk[A])(fn: (A) ⇒ IO[E, B]): IO[E, Chunk[B]]
-
def
foreachPar[E, A, B](as: Iterable[A])(fn: (A) ⇒ IO[E, B]): IO[E, List[B]]
-
def
foreachParN[E, A, B](n: Int)(as: Iterable[A])(fn: (A) ⇒ IO[E, B]): IO[E, List[B]]
-
def
foreachParN_[E, A, B](n: Int)(as: Iterable[A])(f: (A) ⇒ IO[E, Any]): IO[E, Unit]
-
final
def
foreachPar_[E, A, B](as: Chunk[A])(f: (A) ⇒ IO[E, Any]): IO[E, Unit]
-
def
foreachPar_[E, A, B](as: Iterable[A])(f: (A) ⇒ IO[E, Any]): IO[E, Unit]
-
final
def
foreach_[E, A](as: Chunk[A])(f: (A) ⇒ IO[E, Any]): IO[E, Unit]
-
def
foreach_[E, A](as: Iterable[A])(f: (A) ⇒ IO[E, Any]): IO[E, Unit]
-
def
forkAll[E, A](as: Iterable[IO[E, A]]): UIO[Fiber[E, List[A]]]
-
def
forkAll_[E, A](as: Iterable[IO[E, A]]): UIO[Unit]
-
def
fromEither[E, A](v: ⇒ Either[E, A]): IO[E, A]
-
def
fromFiber[E, A](fiber: ⇒ Fiber[E, A]): IO[E, A]
-
def
fromFiberM[E, A](fiber: IO[E, Fiber[E, A]]): IO[E, A]
-
def
fromFunction[A](f: (Any) ⇒ A): IO[Nothing, A]
-
def
fromFunctionFuture[A](f: (Any) ⇒ Future[A]): Task[A]
-
def
fromFunctionM[E, A](f: (Any) ⇒ IO[E, A]): IO[E, A]
-
-
-
def
fromOption[A](v: ⇒ Option[A]): IO[Unit, A]
-
def
fromTry[A](value: ⇒ Try[A]): Task[A]
-
final
def
getClass(): Class[_]
-
def
halt[E](cause: ⇒ Cause[E]): IO[E, Nothing]
-
def
haltWith[E](function: (() ⇒ ZTrace) ⇒ Cause[E]): IO[E, Nothing]
-
def
hashCode(): Int
-
-
-
-
def
interruptAllChildren: UIO[Unit]
-
def
interruptAs(fiberId: ⇒ Id): UIO[Nothing]
-
def
interruptible[E, A](io: IO[E, A]): IO[E, A]
-
-
final
def
isInstanceOf[T0]: Boolean
-
def
iterate[E, S](initial: S)(cont: (S) ⇒ Boolean)(body: (S) ⇒ IO[E, S]): IO[E, S]
-
def
left[E, A](a: ⇒ A): IO[E, Either[A, Nothing]]
-
def
lock[E, A](executor: ⇒ Executor)(io: IO[E, A]): IO[E, A]
-
def
loop[E, A, S](initial: S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ IO[E, A]): IO[E, List[A]]
-
def
loop_[E, S](initial: S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ IO[E, Any]): IO[E, Unit]
-
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]
-
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]
-
def
mapN[E, A, B, C](io1: IO[E, A], io2: IO[E, B])(f: (A, B) ⇒ C): IO[E, C]
-
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]
-
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]
-
def
mapParN[E, A, B, C](io1: IO[E, A], io2: IO[E, B])(f: (A, B) ⇒ C): IO[E, C]
-
def
mergeAll[E, A, B](in: Iterable[IO[E, A]])(zero: B)(f: (B, A) ⇒ B): IO[E, B]
-
def
mergeAllPar[E, A, B](in: Iterable[IO[E, A]])(zero: B)(f: (B, A) ⇒ B): IO[E, B]
-
-
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
partition[E, A, B](in: Iterable[A])(f: (A) ⇒ IO[E, B])(implicit ev: CanFail[E]): IO[Nothing, (List[E], List[B])]
-
def
partitionPar[E, A, B](in: Iterable[A])(f: (A) ⇒ IO[E, B])(implicit ev: CanFail[E]): IO[Nothing, (List[E], List[B])]
-
def
partitionParN[E, A, B](n: Int)(in: Iterable[A])(f: (A) ⇒ IO[E, B])(implicit ev: CanFail[E]): IO[Nothing, (List[E], List[B])]
-
def
raceAll[E, A](io: IO[E, A], ios: Iterable[IO[E, A]]): IO[E, A]
-
def
reduceAll[E, A](a: IO[E, A], as: Iterable[IO[E, A]])(f: (A, A) ⇒ A): IO[E, A]
-
def
reduceAllPar[E, A](a: IO[E, A], as: Iterable[IO[E, A]])(f: (A, A) ⇒ A): IO[E, A]
-
def
replicate[E, A](n: Int)(effect: IO[E, A]): Iterable[IO[E, A]]
-
def
require[E, A](error: E): (IO[E, Option[A]]) ⇒ IO[E, A]
-
def
reserve[E, A, B](reservation: IO[E, Reservation[Any, E, A]])(use: (A) ⇒ IO[E, B]): IO[E, B]
-
def
right[E, B](b: ⇒ B): IO[E, Either[Nothing, B]]
-
-
def
some[E, A](a: ⇒ A): IO[E, Option[A]]
-
def
succeed[A](a: ⇒ A): UIO[A]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
-
def
traced[E, A](zio: IO[E, A]): IO[E, A]
-
def
uninterruptible[E, A](io: IO[E, A]): IO[E, A]
-
def
uninterruptibleMask[E, A](k: (InterruptStatusRestore) ⇒ IO[E, A]): IO[E, A]
-
-
def
unsandbox[E, A](v: IO[Cause[E], A]): IO[E, A]
-
def
untraced[E, A](zio: IO[E, A]): IO[E, A]
-
def
validate[E, A, B](in: Iterable[A])(f: (A) ⇒ IO[E, B])(implicit ev: CanFail[E]): IO[::[E], List[B]]
-
def
validateFirst[E, A, B](in: Iterable[A])(f: (A) ⇒ IO[E, B])(implicit ev: CanFail[E]): IO[List[E], B]
-
def
validateFirstPar[E, A, B](in: Iterable[A])(f: (A) ⇒ IO[E, B])(implicit ev: CanFail[E]): IO[List[E], B]
-
def
validatePar[E, A, B](in: Iterable[A])(f: (A) ⇒ IO[E, B])(implicit ev: CanFail[E]): IO[::[E], List[B]]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
when[E](b: ⇒ Boolean)(io: ⇒ IO[E, Any]): IO[E, Unit]
-
def
whenCase[R, E, A](a: ⇒ A)(pf: PartialFunction[A, ZIO[R, E, Any]]): ZIO[R, E, Unit]
-
def
whenCaseM[R, E, A](a: ZIO[R, E, A])(pf: PartialFunction[A, ZIO[R, E, Any]]): ZIO[R, E, Unit]
-
def
whenM[E](b: IO[E, Boolean])(io: ⇒ IO[E, Any]): IO[E, Unit]
-
val
yieldNow: UIO[Unit]