Packages

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

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 acquireReleaseExitWith[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 acquireReleaseExitWith zio.ZIO

  6. def acquireReleaseExitWith[E, A](acquire: => IO[E, A]): BracketExitAcquire[Any, E, A]

    See also

    See acquireReleaseExitWith zio.ZIO

  7. def acquireReleaseWith[E, A, B](acquire: => IO[E, A], release: (A) => UIO[Any], use: (A) => IO[E, B]): IO[E, B]

    See also

    See acquireReleaseWith zio.ZIO

  8. def acquireReleaseWith[E, A](acquire: => IO[E, A]): BracketAcquire[Any, E, A]

    See also

    See acquireReleaseWith zio.ZIO

  9. def allowInterrupt: UIO[Unit]

  10. def apply[A](a: => A): Task[A]

    See also

    See zio.ZIO.apply

  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def async[E, A](register: ((IO[E, A]) => Unit) => Any, blockingOn: => FiberId = FiberId.None): IO[E, A]

    See also

    See zio.ZIO.async

  13. def asyncInterrupt[E, A](register: ((IO[E, A]) => Unit) => Either[Canceler[Any], IO[E, A]], blockingOn: => FiberId = FiberId.None): IO[E, A]

  14. def asyncMaybe[E, A](register: ((IO[E, A]) => Unit) => Option[IO[E, A]], blockingOn: => FiberId = FiberId.None): IO[E, A]

    See also

    See zio.ZIO.asyncMaybe

  15. def asyncZIO[E, A](register: ((IO[E, A]) => Unit) => IO[E, Any]): IO[E, A]

    See also

    See zio.ZIO.asyncZIO

  16. def attempt[A](effect: => A): Task[A]

    See also

    See zio.ZIO.attempt

  17. def attemptBlocking[A](effect: => A): Task[A]

  18. def attemptBlockingCancelable[A](effect: => A)(cancel: => UIO[Any]): Task[A]

  19. def attemptBlockingIO[A](effect: => A): IO[IOException, A]

  20. def attemptBlockingInterrupt[A](effect: => A): Task[A]

  21. def blocking[E, A](zio: => IO[E, A]): IO[E, A]

    See also

    See zio.ZIO.blocking

  22. def blockingExecutor: UIO[Executor]

  23. def checkInterruptible[E, A](f: (InterruptStatus) => IO[E, A]): IO[E, A]

  24. def checkTraced[E, A](f: (TracingStatus) => IO[E, A]): IO[E, A]

  25. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  26. def collect[E, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) => IO[Option[E], (Key2, Value2)]): IO[E, Map[Key2, Value2]]

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

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

  29. def collectAll[E, A](in: Array[IO[E, A]])(implicit arg0: ClassTag[A]): IO[E, Array[A]]

  30. def collectAll[E, A](in: Set[IO[E, A]]): IO[E, Set[A]]

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

  32. def collectAllDiscard[E, A](in: => Iterable[IO[E, A]]): IO[E, Unit]

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

  34. def collectAllPar[E, A](as: Array[IO[E, A]])(implicit arg0: ClassTag[A]): IO[E, Array[A]]

  35. def collectAllPar[E, A](as: Set[IO[E, A]]): IO[E, Set[A]]

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

  37. def collectAllParDiscard[E, A](in: => Iterable[IO[E, A]]): IO[E, Unit]

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

  39. def collectAllParNDiscard[E, A](n: => Int)(as: => Iterable[IO[E, A]]): IO[E, Unit]

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

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

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

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

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

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

  46. def collectFirst[E, A, B](as: => Iterable[A])(f: (A) => IO[E, Option[B]]): IO[E, Option[B]]

  47. def collectPar[E, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) => IO[Option[E], (Key2, Value2)]): IO[E, Map[Key2, Value2]]

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

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

  50. def cond[E, A](predicate: => Boolean, result: => A, error: => E): IO[E, A]

    See also

    See zio.ZIO.cond

  51. def debug(value: => Any): UIO[Unit]

    See also

    See zio.ZIO.debug

  52. def descriptor: UIO[Descriptor]

    See also

    See zio.ZIO.descriptor

  53. def descriptorWith[E, A](f: (Descriptor) => IO[E, A]): IO[E, A]

  54. def die(t: => Throwable): UIO[Nothing]

    See also

    See zio.ZIO.die

  55. def dieMessage(message: => String): UIO[Nothing]

    See also

    See zio.ZIO.dieMessage

  56. def done[E, A](r: => Exit[E, A]): IO[E, A]

    See also

    See zio.ZIO.done

  57. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  58. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  59. def executor: UIO[Executor]

    See also

    See zio.ZIO.executor

  60. def exists[E, A](as: => Iterable[A])(f: (A) => IO[E, Boolean]): IO[E, Boolean]

    See also

    See zio.ZIO.exists

  61. def fail[E](error: => E): IO[E, Nothing]

    See also

    See zio.ZIO.fail

  62. def failCause[E](cause: => Cause[E]): IO[E, Nothing]

    See also

    See zio.ZIO.failCause

  63. def failCauseWith[E](function: (() => ZTrace) => Cause[E]): IO[E, Nothing]

  64. val fiberId: UIO[FiberId]

  65. def filter[E, A](as: Set[A])(f: (A) => IO[E, Boolean]): IO[E, Set[A]]

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

  67. def filterNot[E, A](as: Set[A])(f: (A) => IO[E, Boolean]): IO[E, Set[A]]

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

  69. def filterNotPar[E, A](as: Set[A])(f: (A) => IO[E, Boolean]): IO[E, Set[A]]

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

  71. def filterPar[E, A](as: Set[A])(f: (A) => IO[E, Boolean]): IO[E, Set[A]]

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

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

  75. def flatten[E, A](io: => IO[E, IO[E, A]]): IO[E, A]

    See also

    See zio.ZIO.flatten

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

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

  78. def forall[E, A](as: => Iterable[A])(f: (A) => IO[E, Boolean]): IO[E, Boolean]

    See also

    See zio.ZIO.forall

  79. def foreach[E, A, B](in: NonEmptyChunk[A])(f: (A) => IO[E, B]): IO[E, NonEmptyChunk[B]]

  80. def foreach[E, A, B](in: Option[A])(f: (A) => IO[E, B]): IO[E, Option[B]]

  81. def foreach[E, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) => IO[E, (Key2, Value2)]): IO[E, Map[Key2, Value2]]

  82. def foreach[E, A, B](in: Array[A])(f: (A) => IO[E, B])(implicit arg0: ClassTag[B]): IO[E, Array[B]]

  83. def foreach[E, A, B](in: Set[A])(f: (A) => IO[E, B]): IO[E, Set[B]]

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

  85. def foreachDiscard[E, A](as: => Iterable[A])(f: (A) => IO[E, Any]): IO[E, Unit]

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

  87. def foreachPar[E, A, B](as: NonEmptyChunk[A])(fn: (A) => IO[E, B]): IO[E, NonEmptyChunk[B]]

  88. def foreachPar[E, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) => IO[E, (Key2, Value2)]): IO[E, Map[Key2, Value2]]

  89. def foreachPar[E, A, B](as: Array[A])(fn: (A) => IO[E, B])(implicit arg0: ClassTag[B]): IO[E, Array[B]]

  90. def foreachPar[E, A, B](as: Set[A])(fn: (A) => IO[E, B]): IO[E, Set[B]]

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

  92. def foreachParDiscard[E, A, B](as: => Iterable[A])(f: (A) => IO[E, Any]): IO[E, Unit]

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

  94. def foreachParNDiscard[E, A, B](n: => Int)(as: => Iterable[A])(f: (A) => IO[E, Any]): IO[E, Unit]

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

  96. def forkAllDiscard[E, A](as: => Iterable[IO[E, A]]): UIO[Unit]

  97. def from[Input](input: => Input)(implicit constructor: ZIOConstructor[Any, Any, Input]): ZIO[OutEnvironment, OutError, OutSuccess]

    Constructs a IO value of the appropriate type for the specified input.

  98. def fromEither[E, A](v: => Either[E, A]): IO[E, A]

    See also

    See zio.ZIO.fromEither

  99. def fromFiber[E, A](fiber: => Fiber[E, A]): IO[E, A]

    See also

    See zio.ZIO.fromFiber

  100. def fromFiberZIO[E, A](fiber: => IO[E, Fiber[E, A]]): IO[E, A]

  101. def fromFuture[A](make: (ExecutionContext) => Future[A]): Task[A]

    See also

    See zio.ZIO.fromFuture

  102. def fromFutureInterrupt[A](make: (ExecutionContext) => Future[A]): Task[A]

  103. def fromOption[A](v: => Option[A]): IO[Option[Nothing], A]

    See also

    See zio.ZIO.fromOption

  104. def fromTry[A](value: => Try[A]): Task[A]

    See also

    See zio.ZIO.fromTry

  105. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  106. def getOrFailUnit[A](v: => Option[A]): IO[Unit, A]

  107. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  108. def ifZIO[E](b: => IO[E, Boolean]): IfZIO[Any, E]

  109. val interrupt: UIO[Nothing]

    See also

    See zio.ZIO.interrupt

  110. def interruptAs(fiberId: => FiberId): UIO[Nothing]

  111. def interruptible[E, A](io: => IO[E, A]): IO[E, A]

  112. def interruptibleMask[E, A](k: (InterruptStatusRestore) => IO[E, A]): IO[E, A]

  113. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  114. def iterate[E, S](initial: => S)(cont: (S) => Boolean)(body: (S) => IO[E, S]): IO[E, S]

    See also

    See zio.ZIO.iterate

  115. def left[E, A](a: => A): IO[E, Either[A, Nothing]]

    See also

    See zio.ZIO.left

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

  117. def loopDiscard[E, S](initial: => S)(cont: (S) => Boolean, inc: (S) => S)(body: (S) => IO[E, Any]): IO[E, Unit]

  118. def memoize[E, A, B](f: (A) => IO[E, B]): UIO[(A) => IO[E, B]]

    See also

    See zio.ZIO.memoize

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

  120. def mergeAllPar[E, A, B](in: => Iterable[IO[E, A]])(zero: => B)(f: (B, A) => B): IO[E, B]

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

    See also

    See zio.ZIO.never

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

    See also

    See zio.ZIO.none

  124. def noneOrFail[E](o: => Option[E]): IO[E, Unit]

    See also

    See zio.ZIO.noneOrFail

  125. def noneOrFailWith[E, O](o: => Option[O])(f: (O) => E): IO[E, Unit]

  126. def not[E](effect: => IO[E, Boolean]): IO[E, Boolean]

    See also

    See zio.ZIO.not

  127. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  128. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  129. def onExecutor[E, A](executor: => Executor)(io: IO[E, A]): IO[E, A]

    See also

    See zio.ZIO.onExecutor

  130. def partition[E, A, B](in: => Iterable[A])(f: (A) => IO[E, B])(implicit ev: CanFail[E]): UIO[(Iterable[E], Iterable[B])]

    See also

    See zio.ZIO.partition

  131. def partitionPar[E, A, B](in: => Iterable[A])(f: (A) => IO[E, B])(implicit ev: CanFail[E]): UIO[(Iterable[E], Iterable[B])]

  132. def partitionParN[E, A, B](n: => Int)(in: => Iterable[A])(f: (A) => IO[E, B])(implicit ev: CanFail[E]): UIO[(Iterable[E], Iterable[B])]

  133. def raceAll[E, A](io: => IO[E, A], ios: => Iterable[IO[E, A]]): IO[E, A]

    See also

    See zio.ZIO.raceAll

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

  135. def reduceAllPar[E, A](a: => IO[E, A], as: => Iterable[IO[E, A]])(f: (A, A) => A): IO[E, A]

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

    See also

    See zio.ZIO.replicate

  137. def replicateZIO[E, A](n: => Int)(effect: => IO[E, A]): IO[E, Iterable[A]]

  138. def replicateZIODiscard[E, A](n: => Int)(effect: => IO[E, A]): IO[E, Unit]

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

  140. def right[E, B](b: => B): IO[E, Either[Nothing, B]]

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

    See also

    See zio.ZIO.runtime

  142. val runtimeConfig: UIO[RuntimeConfig]

  143. def some[E, A](a: => A): IO[E, Option[A]]

    See also

    zio.ZIO.some

  144. def succeed[A](a: => A): UIO[A]

    See also

    See zio.ZIO.succeed

  145. def succeedBlocking[A](a: => A): UIO[A]

  146. def suspend[A](io: => IO[Throwable, A]): IO[Throwable, A]

  147. def suspendSucceed[E, A](io: => IO[E, A]): IO[E, A]

  148. def suspendSucceedWith[E, A](f: (RuntimeConfig, FiberId) => IO[E, A]): IO[E, A]

  149. def suspendWith[A](f: (RuntimeConfig, FiberId) => IO[Throwable, A]): IO[Throwable, A]

  150. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  151. def toString(): String
    Definition Classes
    AnyRef → Any
  152. def trace: UIO[ZTrace]

    See also

    See zio.ZIO.trace

  153. def traced[E, A](zio: => IO[E, A]): IO[E, A]

    See also

    See zio.ZIO.traced

  154. def uninterruptible[E, A](io: => IO[E, A]): IO[E, A]

  155. def uninterruptibleMask[E, A](k: (InterruptStatusRestore) => IO[E, A]): IO[E, A]

  156. val unit: UIO[Unit]

    See also

    See zio.ZIO.unit

  157. def unless[E, A](b: => Boolean)(zio: => IO[E, A]): IO[E, Option[A]]

    See also

    See zio.ZIO.unless

  158. def unlessZIO[E](b: => IO[E, Boolean]): UnlessZIO[Any, E]

    See also

    See zio.ZIO.unlessZIO

  159. def unsandbox[E, A](v: => IO[Cause[E], A]): IO[E, A]

    See also

    See zio.ZIO.unsandbox

  160. def untraced[E, A](zio: => IO[E, A]): IO[E, A]

    See also

    See zio.ZIO.untraced

  161. def validate[E, A, B](in: NonEmptyChunk[A])(f: (A) => IO[E, B])(implicit ev: CanFail[E]): IO[::[E], NonEmptyChunk[B]]

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

  163. def validateDiscard[E, A](in: => Iterable[A])(f: (A) => IO[E, Any])(implicit ev: CanFail[E]): IO[::[E], Unit]

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

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

  166. def validatePar[E, A, B](in: NonEmptyChunk[A])(f: (A) => IO[E, B])(implicit ev: CanFail[E]): IO[::[E], NonEmptyChunk[B]]

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

  168. def validateParDiscard[E, A](in: => Iterable[A])(f: (A) => IO[E, Any])(implicit ev: CanFail[E]): IO[::[E], Unit]

  169. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  170. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  171. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  172. def when[E, A](b: => Boolean)(io: => IO[E, A]): IO[E, Option[A]]

    See also

    See zio.ZIO.when

  173. def whenCase[E, A, B](a: => A)(pf: PartialFunction[A, IO[E, B]]): IO[E, Option[B]]

    See also

    See zio.ZIO.whenCase

  174. def whenCaseZIO[E, A, B](a: => IO[E, A])(pf: PartialFunction[A, IO[E, B]]): IO[E, Option[B]]

  175. def whenZIO[E](b: => IO[E, Boolean]): WhenZIO[Any, E]

    See also

    See zio.ZIO.whenZIO

  176. def withRuntimeConfig[E, A](runtimeConfig: => RuntimeConfig)(io: => IO[E, A]): IO[E, A]

  177. val yieldNow: UIO[Unit]

    See also

    See zio.ZIO.yieldNow

Deprecated Value Members

  1. def bracket[E, A, B](acquire: => IO[E, A], release: (A) => UIO[Any], use: (A) => IO[E, B]): IO[E, B]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseWith

    See also

    See bracket zio.ZIO

  2. def bracket[E, A](acquire: => IO[E, A]): BracketAcquire[Any, E, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseWith

    See also

    See bracket zio.ZIO

  3. def bracketExit[E, A, B](acquire: => IO[E, A], release: (A, Exit[E, B]) => UIO[Any], use: (A) => IO[E, B]): IO[E, B]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseExitWith

    See also

    See bracketExit zio.ZIO

  4. def bracketExit[E, A](acquire: => IO[E, A]): BracketExitAcquire[Any, E, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseExitWith

    See also

    See bracketExit zio.ZIO

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllParNDiscard

    See also

    See zio.ZIO.collectAllParN_

  6. def collectAllPar_[E, A](in: => Iterable[IO[E, A]]): IO[E, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllParDiscard

    See also

    See zio.ZIO.collectAllPar_

  7. def collectAll_[E, A](in: => Iterable[IO[E, A]]): IO[E, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllDiscard

    See also

    See zio.ZIO.collectAll_

  8. def effect[A](effect: => A): Task[A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use attempt

    See also

    See zio.ZIO.effect

  9. def effectAsync[E, A](register: ((IO[E, A]) => Unit) => Any, blockingOn: => FiberId = FiberId.None): IO[E, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use async

    See also

    See zio.ZIO.effectAsync

  10. def effectAsyncInterrupt[E, A](register: ((IO[E, A]) => Unit) => Either[Canceler[Any], IO[E, A]], blockingOn: => FiberId = FiberId.None): IO[E, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use asyncInterrupt

    See also

    See zio.ZIO.effectAsyncInterrupt

  11. def effectAsyncM[E, A](register: ((IO[E, A]) => Unit) => IO[E, Any]): IO[E, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use asyncZIO

    See also

    See zio.ZIO.effectAsyncM

  12. def effectAsyncMaybe[E, A](register: ((IO[E, A]) => Unit) => Option[IO[E, A]], blockingOn: => FiberId = FiberId.None): IO[E, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use asyncMaybe

    See also

    See zio.ZIO.effectAsyncMaybe

  13. def effectBlocking[A](effect: => A): Task[A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use attemptBlocking

    See also

    See zio.ZIO.effectBlocking

  14. def effectBlockingCancelable[A](effect: => A)(cancel: => UIO[Any]): Task[A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use attemptBlockingCancelable

    See also

    See zio.ZIO.effectBlockingCancelable

  15. def effectBlockingIO[A](effect: => A): IO[IOException, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use attemptBlockingIO

    See also

    See zio.ZIO.effectBlockingIO

  16. def effectBlockingInterrupt[A](effect: => A): Task[A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use attemptBlockingInterrupt

    See also

    See zio.ZIO.effectBlockingInterrupt

  17. def effectSuspend[A](io: => IO[Throwable, A]): IO[Throwable, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use suspend

    See also

    zio.ZIO.effectSuspend

  18. def effectSuspendTotal[E, A](io: => IO[E, A]): IO[E, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use suspendSucceed

    See also

    See zio.ZIO.effectSuspendTotal

  19. def effectSuspendTotalWith[E, A](p: (Platform, Id) => IO[E, A]): IO[E, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use suspendSucceedWith

    See also

    See zio.ZIO.effectSuspendTotalWith

  20. def effectSuspendWith[A](p: (Platform, Id) => IO[Throwable, A]): IO[Throwable, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use suspendWith

    See also

    zio.ZIO.effectSuspendWith

  21. def effectTotal[A](effect: => A): UIO[A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use succeed

    See also

    See zio.ZIO.effectTotal

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachParNDiscard

    See also

    See zio.ZIO.foreachParN_

  23. def foreachPar_[E, A, B](as: => Iterable[A])(f: (A) => IO[E, Any]): IO[E, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachParDiscard

    See also

    See zio.ZIO.foreachPar_

  24. def foreach_[E, A](as: => Iterable[A])(f: (A) => IO[E, Any]): IO[E, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachDiscard

    See also

    See zio.ZIO.foreach_

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use forkAllDiscard

    See also

    See zio.ZIO.forkAll_

  26. def fromFiberM[E, A](fiber: => IO[E, Fiber[E, A]]): IO[E, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use fromFiberZIO

    See also

    See zio.ZIO.fromFiberM

  27. def halt[E](cause: => Cause[E]): IO[E, Nothing]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use failCause

    See also

    See zio.ZIO.halt

  28. def haltWith[E](function: (() => ZTrace) => Cause[E]): IO[E, Nothing]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use failCauseWith

    See also

    See zio.ZIO.haltWith

  29. def ifM[E](b: => IO[E, Boolean]): IfZIO[Any, E]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use ifZIO

    See also

    zio.ZIO.ifM

  30. def lock[E, A](executor: => Executor)(io: => IO[E, A]): IO[E, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use onExecutor

    See also

    See zio.ZIO.lock

  31. def loop_[E, S](initial: => S)(cont: (S) => Boolean, inc: (S) => S)(body: (S) => IO[E, Any]): IO[E, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use loopDiscard

    See also

    See zio.ZIO.loop_

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zip

    See also

    zio.ZIO.mapN[R,E,A,B,C,D,F]*

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zip

    See also

    zio.ZIO.mapN[R,E,A,B,C,D]*

  34. def mapN[E, A, B, C](io1: => IO[E, A], io2: => IO[E, B])(f: (A, B) => C): IO[E, C]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zip

    See also

    zio.ZIO.mapN[R,E,A,B,C]*

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zipPar

    See also

    zio.ZIO.mapParN[R,E,A,B,C,D,F]*

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zipPar

    See also

    zio.ZIO.mapParN[R,E,A,B,C,D]*

  37. def mapParN[E, A, B, C](io1: => IO[E, A], io2: => IO[E, B])(f: (A, B) => C): IO[E, C]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zipPar

    See also

    zio.ZIO.mapParN[R,E,A,B,C]*

  38. def replicateM[E, A](n: => Int)(effect: => IO[E, A]): IO[E, Iterable[A]]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use replicateZIO

    See also

    See zio.ZIO.replicateM

  39. def replicateM_[E, A](n: => Int)(effect: => IO[E, A]): IO[E, Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use replicateZIODiscard

    See also

    See zio.ZIO.replicateM_

  40. def require[E, A](error: => E): (IO[E, Option[A]]) => IO[E, A]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use someOrFail

    See also

    See zio.ZIO.require

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

  42. def validatePar_[E, A](in: => Iterable[A])(f: (A) => IO[E, Any])(implicit ev: CanFail[E]): IO[::[E], Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use validateParDiscard

    See also

    See zio.ZIO.validatePar_

  43. def validate_[E, A](in: => Iterable[A])(f: (A) => IO[E, Any])(implicit ev: CanFail[E]): IO[::[E], Unit]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use validateDiscard

    See also

    See zio.ZIO.validate_

  44. def whenCaseM[E, A, B](a: => IO[E, A])(pf: PartialFunction[A, IO[E, B]]): IO[E, Option[B]]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use whenCaseZIO

    See also

    See zio.ZIO.whenCaseM

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

Inherited from AnyRef

Inherited from Any

Ungrouped