Packages

o

zio

IO

object IO

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IO
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class BracketAcquire[E, A] extends AnyVal
  2. final class BracketAcquire_[E] extends AnyVal
  3. class BracketRelease[E, A] extends AnyRef
  4. class BracketRelease_[E] extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def absolve[E, A](v: IO[E, Either[E, A]]): IO[E, A]

    See also

    See zio.ZIO.absolve

  5. def adopt(fiber: Fiber[Any, Any]): UIO[Boolean]

    See also

    See zio.ZIO.adopt

  6. def allowInterrupt: UIO[Unit]

  7. def apply[A](a: ⇒ A): Task[A]

    See also

    See zio.ZIO.apply

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. val awaitAllChildren: UIO[Unit]

  10. 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

  11. def bracket[E, A](acquire: IO[E, A]): BracketAcquire[E, A]

    See also

    See bracket zio.ZIO

  12. 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

  13. def bracketExit[E, A](acquire: IO[E, A]): BracketExitAcquire[Any, E, A]

    See also

    See bracketExit zio.ZIO

  14. def checkInterruptible[E, A](f: (InterruptStatus) ⇒ IO[E, A]): IO[E, A]

  15. def checkTraced[E, A](f: (TracingStatus) ⇒ IO[E, A]): IO[E, A]

    See also

    See zio.ZIO.checkTraced

  16. def children: UIO[Iterable[Fiber[Any, Any]]]

    See also

    See zio.ZIO.children

  17. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  18. def collect[R, E, A, B](in: Iterable[A])(f: (A) ⇒ IO[Option[E], B]): IO[E, List[B]]

    See also

    See zio.ZIO.collect

  19. def collectAll[E, A](in: NonEmptyChunk[IO[E, A]]): IO[E, NonEmptyChunk[A]]

  20. def collectAll[E, A](in: Chunk[IO[E, A]]): IO[E, Chunk[A]]

  21. def collectAll[E, A](in: Iterable[IO[E, A]]): IO[E, List[A]]

  22. def collectAllPar[E, A](as: NonEmptyChunk[IO[E, A]]): IO[E, NonEmptyChunk[A]]

  23. def collectAllPar[E, A](as: Chunk[IO[E, A]]): IO[E, Chunk[A]]

  24. def collectAllPar[E, A](as: Iterable[IO[E, A]]): IO[E, List[A]]

  25. def collectAllParN[E, A](n: Int)(as: Iterable[IO[E, A]]): IO[E, List[A]]

  26. def collectAllParN_[E, A](n: Int)(as: Iterable[IO[E, A]]): IO[E, Unit]

  27. def collectAllPar_[E, A](in: Chunk[IO[E, A]]): IO[E, Unit]

  28. def collectAllPar_[E, A](in: Iterable[IO[E, A]]): IO[E, Unit]

  29. def collectAllSuccesses[E, A](in: Iterable[IO[E, A]]): IO[E, List[A]]

  30. def collectAllSuccessesPar[E, A](as: Iterable[IO[E, A]]): IO[E, List[A]]

  31. def collectAllSuccessesParN[E, A](n: Int)(as: Iterable[IO[E, A]]): IO[E, List[A]]

  32. def collectAllWith[E, A, B](in: Iterable[IO[E, A]])(f: PartialFunction[A, B]): IO[E, List[B]]

  33. def collectAllWithPar[E, A, B](as: Iterable[IO[E, A]])(f: PartialFunction[A, B]): IO[E, List[B]]

  34. def collectAllWithParN[E, A, B](n: Int)(as: Iterable[IO[E, A]])(f: PartialFunction[A, B]): IO[E, List[B]]

  35. def collectAll_[E, A](in: Chunk[IO[E, A]]): IO[E, Unit]

  36. def collectAll_[E, A](in: Iterable[IO[E, A]]): IO[E, Unit]

  37. def collectPar[R, E, A, B](in: Iterable[A])(f: (A) ⇒ IO[Option[E], B]): IO[E, List[B]]

    See also

    See zio.ZIO.collectPar

  38. def collectParN[R, E, A, B](n: Int)(in: Iterable[A])(f: (A) ⇒ IO[Option[E], B]): IO[E, List[B]]

    See also

    See zio.ZIO.collectParN

  39. def descriptor: UIO[Descriptor]

    See also

    See zio.ZIO.descriptor

  40. def descriptorWith[E, A](f: (Descriptor) ⇒ IO[E, A]): IO[E, A]

  41. def die(t: ⇒ Throwable): UIO[Nothing]

    See also

    See zio.ZIO.die

  42. def dieMessage(message: ⇒ String): UIO[Nothing]

    See also

    See zio.ZIO.dieMessage

  43. def disown(fiber: Fiber[Any, Any]): UIO[Boolean]

    See also

    See zio.ZIO.disown

  44. def done[E, A](r: ⇒ Exit[E, A]): IO[E, A]

    See also

    See zio.ZIO.done

  45. def effect[A](effect: ⇒ A): Task[A]

    See also

    See zio.ZIO.effect

  46. def effectAsync[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ Any, blockingOn: List[Id] = Nil): IO[E, A]

    See also

    See zio.ZIO.effectAsync

  47. def effectAsyncInterrupt[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ Either[Canceler[Any], IO[E, A]], blockingOn: List[Id] = Nil): IO[E, A]

  48. def effectAsyncM[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ IO[E, Any]): IO[E, A]

  49. def effectAsyncMaybe[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ Option[IO[E, A]], blockingOn: List[Id] = Nil): IO[E, A]

  50. def effectSuspend[A](io: ⇒ IO[Throwable, A]): IO[Throwable, A]

  51. def effectSuspendTotal[E, A](io: ⇒ IO[E, A]): IO[E, A]

  52. def effectSuspendTotalWith[E, A](p: (Platform, Id) ⇒ IO[E, A]): IO[E, A]

  53. def effectSuspendWith[A](p: (Platform, Id) ⇒ IO[Throwable, A]): IO[Throwable, A]

  54. def effectTotal[A](effect: ⇒ A): UIO[A]

    See also

    See zio.ZIO.effectTotal

  55. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  56. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  57. def fail[E](error: ⇒ E): IO[E, Nothing]

    See also

    See zio.ZIO.fail

  58. val fiberId: UIO[Id]

  59. def filter[E, A](as: Iterable[A])(f: (A) ⇒ IO[E, Boolean]): IO[E, List[A]]

  60. def filterNot[E, A](as: Iterable[A])(f: (A) ⇒ IO[E, Boolean]): IO[E, List[A]]

  61. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  62. def firstSuccessOf[E, A](io: IO[E, A], rest: Iterable[IO[E, A]]): IO[E, A]

  63. def flatten[E, A](io: IO[E, IO[E, A]]): IO[E, A]

    See also

    See zio.ZIO.flatten

  64. 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

  65. def foldRight[E, S, A](in: Iterable[A])(zero: S)(f: (A, S) ⇒ IO[E, S]): IO[E, S]

    See also

    See zio.ZIO.foldRight

  66. def foreach[E, A, B](in: NonEmptyChunk[A])(f: (A) ⇒ IO[E, B]): IO[E, NonEmptyChunk[B]]

  67. def foreach[E, A, B](in: Chunk[A])(f: (A) ⇒ IO[E, B]): IO[E, Chunk[B]]

  68. def foreach[E, A, B](in: Option[A])(f: (A) ⇒ IO[E, B]): IO[E, Option[B]]

  69. def foreach[E, A, B](in: Iterable[A])(f: (A) ⇒ IO[E, B]): IO[E, List[B]]

  70. final def foreachExec[E, A, B](as: Iterable[A])(exec: ExecutionStrategy)(f: (A) ⇒ IO[E, B]): IO[E, List[B]]

    See also

    See zio.ZIO.foreachExec

  71. def foreachPar[E, A, B](as: NonEmptyChunk[A])(fn: (A) ⇒ IO[E, B]): IO[E, NonEmptyChunk[B]]

  72. def foreachPar[E, A, B](as: Chunk[A])(fn: (A) ⇒ IO[E, B]): IO[E, Chunk[B]]

  73. def foreachPar[E, A, B](as: Iterable[A])(fn: (A) ⇒ IO[E, B]): IO[E, List[B]]

  74. def foreachParN[E, A, B](n: Int)(as: Iterable[A])(fn: (A) ⇒ IO[E, B]): IO[E, List[B]]

    See also

    See zio.ZIO.foreachParN

  75. def foreachParN_[E, A, B](n: Int)(as: Iterable[A])(f: (A) ⇒ IO[E, Any]): IO[E, Unit]

  76. def foreachPar_[E, A, B](as: Chunk[A])(f: (A) ⇒ IO[E, Any]): IO[E, Unit]

  77. def foreachPar_[E, A, B](as: Iterable[A])(f: (A) ⇒ IO[E, Any]): IO[E, Unit]

  78. def foreach_[E, A](as: Chunk[A])(f: (A) ⇒ IO[E, Any]): IO[E, Unit]

  79. def foreach_[E, A](as: Iterable[A])(f: (A) ⇒ IO[E, Any]): IO[E, Unit]

  80. def forkAll[E, A](as: Iterable[IO[E, A]]): UIO[Fiber[E, List[A]]]

    See also

    See zio.ZIO.forkAll

  81. def forkAll_[E, A](as: Iterable[IO[E, A]]): UIO[Unit]

    See also

    See zio.ZIO.forkAll_

  82. def fromEither[E, A](v: ⇒ Either[E, A]): IO[E, A]

    See also

    See zio.ZIO.fromEither

  83. def fromFiber[E, A](fiber: ⇒ Fiber[E, A]): IO[E, A]

    See also

    See zio.ZIO.fromFiber

  84. def fromFiberM[E, A](fiber: IO[E, Fiber[E, A]]): IO[E, A]

    See also

    See zio.ZIO.fromFiberM

  85. def fromFunction[A](f: (Any) ⇒ A): IO[Nothing, A]

  86. def fromFunctionFuture[A](f: (Any) ⇒ Future[A]): Task[A]

  87. def fromFunctionM[E, A](f: (Any) ⇒ IO[E, A]): IO[E, A]

  88. def fromFuture[A](make: (ExecutionContext) ⇒ Future[A]): Task[A]

    See also

    See zio.ZIO.fromFuture

  89. def fromFutureInterrupt[A](make: (ExecutionContext) ⇒ Future[A]): Task[A]

  90. def fromOption[A](v: ⇒ Option[A]): IO[Unit, A]

    See also

    See zio.ZIO.fromOption

  91. def fromTry[A](value: ⇒ Try[A]): Task[A]

    See also

    See zio.ZIO.fromTry

  92. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  93. def halt[E](cause: ⇒ Cause[E]): IO[E, Nothing]

    See also

    See zio.ZIO.halt

  94. def haltWith[E](function: (() ⇒ ZTrace) ⇒ Cause[E]): IO[E, Nothing]

    See also

    See zio.ZIO.haltWith

  95. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  96. def identity: IO[Nothing, Any]

  97. def ifM[E](b: IO[E, Boolean]): IfM[Any, E]

    See also

    zio.ZIO.ifM

  98. val interrupt: UIO[Nothing]

    See also

    See zio.ZIO.interrupt

  99. def interruptAllChildren: UIO[Unit]

    See also

    See [zio.ZIO.interruptAllChildren]

  100. def interruptAs(fiberId: ⇒ Id): UIO[Nothing]

    See also

    See zio.ZIO.interruptAs

  101. def interruptible[E, A](io: IO[E, A]): IO[E, A]

  102. def interruptibleMask[E, A](k: (InterruptStatusRestore) ⇒ IO[E, A]): IO[E, A]

  103. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  104. def iterate[E, S](initial: S)(cont: (S) ⇒ Boolean)(body: (S) ⇒ IO[E, S]): IO[E, S]

    See also

    See zio.ZIO.iterate

  105. def left[E, A](a: ⇒ A): IO[E, Either[A, Nothing]]

    See also

    See zio.ZIO.left

  106. def lock[E, A](executor: ⇒ Executor)(io: IO[E, A]): IO[E, A]

    See also

    See zio.ZIO.lock

  107. 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

  108. 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_

  109. 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]

  110. 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]

  111. def mapN[E, A, B, C](io1: IO[E, A], io2: IO[E, B])(f: (A, B) ⇒ C): IO[E, C]

  112. 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]

  113. 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]

  114. def mapParN[E, A, B, C](io1: IO[E, A], io2: IO[E, B])(f: (A, B) ⇒ C): IO[E, C]

  115. def memoize[E, A, B](f: (A) ⇒ IO[E, B]): UIO[(A) ⇒ IO[E, B]]

    See also

    See zio.ZIO.memoize

  116. 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

  117. def mergeAllPar[E, A, B](in: Iterable[IO[E, A]])(zero: B)(f: (B, A) ⇒ B): IO[E, B]

    See also

    See zio.ZIO.mergeAllPar

  118. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  119. val never: UIO[Nothing]

    See also

    See zio.ZIO.never

  120. val none: UIO[Option[Nothing]]

    See also

    See zio.ZIO.none

  121. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  122. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  123. def partition[E, A, B](in: Iterable[A])(f: (A) ⇒ IO[E, B])(implicit ev: CanFail[E]): IO[Nothing, (List[E], List[B])]

    See also

    See zio.ZIO.partition

  124. def partitionPar[E, A, B](in: Iterable[A])(f: (A) ⇒ IO[E, B])(implicit ev: CanFail[E]): IO[Nothing, (List[E], List[B])]

  125. 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])]

  126. def raceAll[E, A](io: IO[E, A], ios: Iterable[IO[E, A]]): IO[E, A]

    See also

    See zio.ZIO.raceAll

  127. def reduceAll[E, A](a: IO[E, A], as: Iterable[IO[E, A]])(f: (A, A) ⇒ A): IO[E, A]

    See also

    See zio.ZIO.reduceAll

  128. def reduceAllPar[E, A](a: IO[E, A], as: Iterable[IO[E, A]])(f: (A, A) ⇒ A): IO[E, A]

  129. def replicate[E, A](n: Int)(effect: IO[E, A]): Iterable[IO[E, A]]

    See also

    See zio.ZIO.replicate

  130. def require[E, A](error: E): (IO[E, Option[A]]) ⇒ IO[E, A]

    See also

    See zio.ZIO.require

  131. 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

  132. def right[E, B](b: ⇒ B): IO[E, Either[Nothing, B]]

    See also

    zio.ZIO.right

  133. def runtime: UIO[Runtime[Any]]

    See also

    See zio.ZIO.runtime

  134. def some[E, A](a: ⇒ A): IO[E, Option[A]]

    See also

    zio.ZIO.some

  135. def succeed[A](a: ⇒ A): UIO[A]

    See also

    See zio.ZIO.succeed

  136. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  137. def toString(): String
    Definition Classes
    AnyRef → Any
  138. def trace: UIO[ZTrace]

    See also

    See zio.ZIO.trace

  139. def traced[E, A](zio: IO[E, A]): IO[E, A]

    See also

    See zio.ZIO.traced

  140. def uninterruptible[E, A](io: IO[E, A]): IO[E, A]

  141. def uninterruptibleMask[E, A](k: (InterruptStatusRestore) ⇒ IO[E, A]): IO[E, A]

  142. val unit: UIO[Unit]

    See also

    See zio.ZIO.unit

  143. def unless[E](b: ⇒ Boolean)(zio: ⇒ IO[E, Any]): IO[E, Unit]

    See also

    See zio.ZIO.unless

  144. def unlessM[E](b: IO[E, Boolean])(zio: ⇒ IO[E, Any]): IO[E, Unit]

    See also

    See zio.ZIO.unlessM

  145. def unsandbox[E, A](v: IO[Cause[E], A]): IO[E, A]

    See also

    See zio.ZIO.unsandbox

  146. def untraced[E, A](zio: IO[E, A]): IO[E, A]

    See also

    See zio.ZIO.untraced

  147. def validate[E, A, B](in: Iterable[A])(f: (A) ⇒ IO[E, B])(implicit ev: CanFail[E]): IO[::[E], List[B]]

    See also

    See zio.ZIO.validate

  148. def validateFirst[E, A, B](in: Iterable[A])(f: (A) ⇒ IO[E, B])(implicit ev: CanFail[E]): IO[List[E], B]

  149. def validateFirstPar[E, A, B](in: Iterable[A])(f: (A) ⇒ IO[E, B])(implicit ev: CanFail[E]): IO[List[E], B]

  150. def validatePar[E, A, B](in: Iterable[A])(f: (A) ⇒ IO[E, B])(implicit ev: CanFail[E]): IO[::[E], List[B]]

    See also

    See zio.ZIO.validatePar

  151. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  152. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  153. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  154. def when[E](b: ⇒ Boolean)(io: ⇒ IO[E, Any]): IO[E, Unit]

    See also

    See zio.ZIO.when

  155. def whenCase[E, A](a: ⇒ A)(pf: PartialFunction[A, IO[E, Any]]): IO[E, Unit]

    See also

    See zio.ZIO.whenCase

  156. def whenCaseM[E, A](a: IO[E, A])(pf: PartialFunction[A, IO[E, Any]]): IO[E, Unit]

    See also

    See zio.ZIO.whenCaseM

  157. def whenM[E](b: IO[E, Boolean])(io: ⇒ IO[E, Any]): IO[E, Unit]

    See also

    See zio.ZIO.whenM

  158. val yieldNow: UIO[Unit]

    See also

    See zio.ZIO.yieldNow

Inherited from AnyRef

Inherited from Any

Ungrouped