Object

zio

IO

Related Doc: package zio

Permalink

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

    Permalink
  2. final class BracketAcquire_[E] extends AnyVal

    Permalink
  3. class BracketRelease[E, A] extends AnyRef

    Permalink
  4. class BracketRelease_[E] extends AnyRef

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def absolve[E, A](v: IO[E, Either[E, A]]): IO[E, A]

    Permalink

    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]

    Permalink

    See also

    See acquireReleaseExitWith zio.ZIO

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

    Permalink

    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]

    Permalink

    See also

    See acquireReleaseWith zio.ZIO

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

    Permalink

    See also

    See acquireReleaseWith zio.ZIO

  9. def allowInterrupt: UIO[Unit]

    Permalink

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

    Permalink

    See also

    See zio.ZIO.apply

  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def async[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ Any, blockingOn: Id = Fiber.Id.None): IO[E, A]

    Permalink

    See also

    See zio.ZIO.async

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

    Permalink

  14. def asyncMaybe[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ Option[IO[E, A]], blockingOn: Id = Fiber.Id.None): IO[E, A]

    Permalink

    See also

    See zio.ZIO.asyncMaybe

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

    Permalink

    See also

    See zio.ZIO.asyncZIO

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

    Permalink

    See also

    See zio.ZIO.attempt

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

    Permalink

  18. def attemptBlockingCancelable[A](effect: ⇒ A)(cancel: UIO[Unit]): Task[A]

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.blocking

  22. def blockingExecutor: UIO[Executor]

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.checkTraced

  25. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. 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]]

    Permalink

    See also

    See zio.ZIO.collect

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

  31. def collectAllDiscard[E, A](in: Iterable[IO[E, A]]): IO[E, Unit]

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

  45. def collectFirst[E, A, B](as: Iterable[A])(f: (A) ⇒ IO[E, Option[B]]): IO[E, Option[B]]

    Permalink

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

    Permalink

    See also

    See zio.ZIO.collectPar

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

    Permalink

    See also

    See zio.ZIO.collectParN

  48. def cond[E, A](predicate: Boolean, result: ⇒ A, error: ⇒ E): IO[E, A]

    Permalink

    See also

    See zio.ZIO.cond

  49. def debug(value: Any): UIO[Unit]

    Permalink

    See also

    See zio.ZIO.debug

  50. def descriptor: UIO[Descriptor]

    Permalink

    See also

    See zio.ZIO.descriptor

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.die

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

    Permalink

    See also

    See zio.ZIO.dieMessage

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

    Permalink

    See also

    See zio.ZIO.done

  55. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  56. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  57. def executor: UIO[Executor]

    Permalink

    See also

    See zio.ZIO.executor

  58. def exists[E, A](as: Iterable[A])(f: (A) ⇒ IO[E, Boolean]): IO[E, Boolean]

    Permalink

    See also

    See zio.ZIO.exists

  59. def fail[E](error: ⇒ E): IO[E, Nothing]

    Permalink

    See also

    See zio.ZIO.fail

  60. def failCause[E](cause: ⇒ Cause[E]): IO[E, Nothing]

    Permalink

    See also

    See zio.ZIO.failCause

  61. def failCauseWith[E](function: (() ⇒ ZTrace) ⇒ Cause[E]): IO[E, Nothing]

    Permalink

  62. val fiberId: UIO[Id]

    Permalink

  63. def filter[E, A](as: Set[A])(f: (A) ⇒ IO[E, Boolean]): IO[E, Set[A]]

    Permalink

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

    Permalink

  65. def filterNot[E, A](as: Set[A])(f: (A) ⇒ IO[E, Boolean]): IO[E, Set[A]]

    Permalink

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

    Permalink

  67. def filterNotPar[E, A](as: Set[A])(f: (A) ⇒ IO[E, Boolean]): IO[E, Set[A]]

    Permalink

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

    Permalink

  69. def filterPar[E, A](as: Set[A])(f: (A) ⇒ IO[E, Boolean]): IO[E, Set[A]]

    Permalink

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

    Permalink

  71. def finalize(): Unit

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.flatten

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

    Permalink

    See also

    See zio.ZIO.foldLeft

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

    Permalink

    See also

    See zio.ZIO.foldRight

  76. def forall[E, A](as: Iterable[A])(f: (A) ⇒ IO[E, Boolean]): IO[E, Boolean]

    Permalink

    See also

    See zio.ZIO.forall

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

    Permalink

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

    Permalink

  79. def foreach[E, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ IO[E, (Key2, Value2)]): IO[E, Map[Key2, Value2]]

    Permalink

  80. def foreach[E, A, B](in: Array[A])(f: (A) ⇒ IO[E, B])(implicit arg0: ClassTag[B]): IO[E, Array[B]]

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.foreachExec

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

    Permalink

  86. def foreachPar[E, Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ IO[E, (Key2, Value2)]): IO[E, Map[Key2, Value2]]

    Permalink

  87. def foreachPar[E, A, B](as: Array[A])(fn: (A) ⇒ IO[E, B])(implicit arg0: ClassTag[B]): IO[E, Array[B]]

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.foreachParN

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.forkAll

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

    Permalink

  95. def from[Input](input: ⇒ Input)(implicit constructor: ZIOConstructor[Any, Any, Input]): ZIO[OutEnvironment, OutError, OutSuccess]

    Permalink

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

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

    Permalink

    See also

    See zio.ZIO.fromEither

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

    Permalink

    See also

    See zio.ZIO.fromFiber

  98. def fromFiberZIO[E, A](fiber: IO[E, Fiber[E, A]]): IO[E, A]

    Permalink

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

    Permalink

  100. def fromFunctionEither[E, A](f: (Any) ⇒ Either[E, A]): IO[E, A]

    Permalink

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

    Permalink

  102. def fromFunctionZIO[E, A](f: (Any) ⇒ IO[E, A]): IO[E, A]

    Permalink

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

    Permalink

    See also

    See zio.ZIO.fromFuture

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

    Permalink

  105. def fromOption[A](v: ⇒ Option[A]): IO[Option[Nothing], A]

    Permalink

    See also

    See zio.ZIO.fromOption

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

    Permalink

    See also

    See zio.ZIO.fromTry

  107. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  108. def getOrFailUnit[A](v: ⇒ Option[A]): IO[Unit, A]

    Permalink

  109. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  110. def identity: IO[Nothing, Any]

    Permalink

  111. def ifZIO[E](b: IO[E, Boolean]): IfZIO[Any, E]

    Permalink

    See also

    zio.ZIO.ifZIO

  112. val interrupt: UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.interrupt

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

    Permalink

    See also

    See zio.ZIO.interruptAs

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

    Permalink

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

    Permalink

  116. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  117. def iterate[E, S](initial: S)(cont: (S) ⇒ Boolean)(body: (S) ⇒ IO[E, S]): IO[E, S]

    Permalink

    See also

    See zio.ZIO.iterate

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

    Permalink

    See also

    See zio.ZIO.left

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

    Permalink

    See also

    See zio.ZIO.lock

  120. def loop[E, A, S](initial: S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ IO[E, A]): IO[E, List[A]]

    Permalink

    See also

    See zio.ZIO.loop

  121. def loopDiscard[E, S](initial: S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ IO[E, Any]): IO[E, Unit]

    Permalink

    See also

    See zio.ZIO.loopDiscard

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.memoize

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

    Permalink

    See also

    See zio.ZIO.mergeAll

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

    Permalink

    See also

    See zio.ZIO.mergeAllPar

  131. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  132. val never: UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.never

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

    Permalink

    See also

    See zio.ZIO.none

  134. def noneOrFail[E](o: Option[E]): IO[E, Unit]

    Permalink

    See also

    See zio.ZIO.noneOrFail

  135. def noneOrFailWith[E, O](o: Option[O])(f: (O) ⇒ E): IO[E, Unit]

    Permalink

  136. def not[E](effect: IO[E, Boolean]): IO[E, Boolean]

    Permalink

    See also

    See zio.ZIO.not

  137. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  138. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  139. def partition[E, A, B](in: Iterable[A])(f: (A) ⇒ IO[E, B])(implicit ev: CanFail[E]): UIO[(Iterable[E], Iterable[B])]

    Permalink

    See also

    See zio.ZIO.partition

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

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.raceAll

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

    Permalink

    See also

    See zio.ZIO.reduceAll

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.replicate

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

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.require

  149. def reserve[E, A, B](reservation: IO[E, Reservation[Any, E, A]])(use: (A) ⇒ IO[E, B]): IO[E, B]

    Permalink

    See also

    See zio.ZIO.reserve

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

    Permalink

    See also

    zio.ZIO.right

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

    Permalink

    See also

    See zio.ZIO.runtime

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

    Permalink

    See also

    zio.ZIO.some

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

    Permalink

    See also

    See zio.ZIO.succeed

  154. def succeedBlocking[A](a: ⇒ A): UIO[A]

    Permalink

  155. def suspend[A](io: ⇒ IO[Throwable, A]): IO[Throwable, A]

    Permalink

  156. def suspendSucceed[E, A](io: ⇒ IO[E, A]): IO[E, A]

    Permalink

  157. def suspendSucceedWith[E, A](p: (Platform, Id) ⇒ IO[E, A]): IO[E, A]

    Permalink

  158. def suspendWith[A](p: (Platform, Id) ⇒ IO[Throwable, A]): IO[Throwable, A]

    Permalink

  159. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  160. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  161. def trace: UIO[ZTrace]

    Permalink

    See also

    See zio.ZIO.trace

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

    Permalink

    See also

    See zio.ZIO.traced

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

    Permalink

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

    Permalink

  165. val unit: UIO[Unit]

    Permalink

    See also

    See zio.ZIO.unit

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

    Permalink

    See also

    See zio.ZIO.unless

  167. def unlessZIO[E](b: IO[E, Boolean]): UnlessZIO[Any, E]

    Permalink

    See also

    See zio.ZIO.unlessZIO

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

    Permalink

    See also

    See zio.ZIO.unsandbox

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

    Permalink

    See also

    See zio.ZIO.untraced

  170. def validate[E, A, B](in: NonEmptyChunk[A])(f: (A) ⇒ IO[E, B])(implicit ev: CanFail[E]): IO[::[E], NonEmptyChunk[B]]

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

  175. def validatePar[E, A, B](in: NonEmptyChunk[A])(f: (A) ⇒ IO[E, B])(implicit ev: CanFail[E]): IO[::[E], NonEmptyChunk[B]]

    Permalink

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

    Permalink

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

    Permalink

  178. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  179. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  180. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  181. def when[E](b: ⇒ Boolean)(io: ⇒ IO[E, Any]): IO[E, Unit]

    Permalink

    See also

    See zio.ZIO.when

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

    Permalink

    See also

    See zio.ZIO.whenCase

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

    Permalink

    See also

    See zio.ZIO.whenCaseZIO

  184. def whenZIO[E](b: IO[E, Boolean]): WhenZIO[Any, E]

    Permalink

    See also

    See zio.ZIO.whenZIO

  185. val yieldNow: UIO[Unit]

    Permalink

    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]

    Permalink

    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[E, A]

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllParDiscard

    See also

    See zio.ZIO.collectAllPar_[R,E,A](as:Iterable*

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllDiscard

    See also

    See zio.ZIO.collectAll_[R,E,A](in:Iterable*

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

    Permalink

    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: Id = Fiber.Id.None): IO[E, A]

    Permalink

    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: Id = Fiber.Id.None): IO[E, A]

    Permalink

    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]

    Permalink

    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: Id = Fiber.Id.None): IO[E, A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use asyncMaybe

    See also

    See zio.ZIO.effectAsyncMaybe

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use attemptBlocking

    See also

    See zio.ZIO.effectBlocking

  14. def effectBlockingCancelable[A](effect: ⇒ A)(cancel: UIO[Unit]): Task[A]

    Permalink

    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]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use attemptBlockingIO

    See also

    See zio.ZIO.effectBlockingIO

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

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use suspendWith

    See also

    zio.ZIO.effectSuspendWith

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

    Permalink

    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]

    Permalink

    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]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachParDiscard

    See also

    See zio.ZIO.foreachPar_[R,E,A](as:Iterable*

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachDiscard

    See also

    See zio.ZIO.foreach_[R,E,A](as:Iterable*

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

    Permalink

    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]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use fromFiberZIO

    See also

    See zio.ZIO.fromFiberM

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use fromFunctionZIO

    See also

    zio.ZIO.fromFunctionM

  28. def halt[E](cause: ⇒ Cause[E]): IO[E, Nothing]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use failCause

    See also

    See zio.ZIO.halt

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use failCauseWith

    See also

    See zio.ZIO.haltWith

  30. def ifM[E](b: IO[E, Boolean]): IfZIO[Any, E]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use ifZIO

    See also

    zio.ZIO.ifM

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use loopDiscard

    See also

    See zio.ZIO.loop_

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use replicateZIO

    See also

    See zio.ZIO.replicateM

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use replicateZIODiscard

    See also

    See zio.ZIO.replicateM_

  34. def unlessM[E](b: IO[E, Boolean]): UnlessZIO[Any, E]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use unlessZIO

    See also

    See zio.ZIO.unlessM

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use validateParDiscard

    See also

    See zio.ZIO.validatePar_

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use validateDiscard

    See also

    See zio.ZIO.validate_

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use whenCaseZIO

    See also

    See zio.ZIO.whenCaseM

  38. def whenM[E](b: IO[E, Boolean]): WhenZIO[Any, E]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use whenZIO

    See also

    See zio.ZIO.whenM

Inherited from AnyRef

Inherited from Any

Ungrouped