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 allowInterrupt: UIO[Unit]

    Permalink

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

    Permalink

    See also

    See zio.ZIO.apply

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def bracket[E, A, B](acquire: IO[E, A], release: (A) ⇒ UIO[Any], use: (A) ⇒ IO[E, B]): IO[E, B]

    Permalink

    See also

    See bracket zio.ZIO

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

    Permalink

    See also

    See bracket zio.ZIO

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

    See also

    See bracketExit zio.ZIO

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

    Permalink

    See also

    See bracketExit zio.ZIO

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.checkTraced

  14. def clone(): AnyRef

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

    Permalink

    See also

    See zio.ZIO.collect

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.collectPar

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

    Permalink

    See also

    See zio.ZIO.collectParN

  36. def descriptor: UIO[Descriptor]

    Permalink

    See also

    See zio.ZIO.descriptor

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.die

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

    Permalink

    See also

    See zio.ZIO.dieMessage

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

    Permalink

    See also

    See zio.ZIO.done

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

    Permalink

    See also

    See zio.ZIO.effect

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

    Permalink

    See also

    See zio.ZIO.effectAsync

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.effectTotal

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  53. def fail[E](error: ⇒ E): IO[E, Nothing]

    Permalink

    See also

    See zio.ZIO.fail

  54. val fiberId: UIO[Id]

    Permalink

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

    Permalink

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

    Permalink

  57. def finalize(): Unit

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.flatten

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

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

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.foreachExec

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.foreachParN

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.forkAll

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

    Permalink

    See also

    See zio.ZIO.forkAll_

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

    Permalink

    See also

    See zio.ZIO.fromEither

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

    Permalink

    See also

    See zio.ZIO.fromFiber

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

    Permalink

    See also

    See zio.ZIO.fromFiberM

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.fromFuture

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.fromOption

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

    Permalink

    See also

    See zio.ZIO.fromTry

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

    Permalink
    Definition Classes
    AnyRef → Any
  89. def halt[E](cause: ⇒ Cause[E]): IO[E, Nothing]

    Permalink

    See also

    See zio.ZIO.halt

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

    Permalink

    See also

    See zio.ZIO.haltWith

  91. def hashCode(): Int

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

    Permalink

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

    Permalink

    See also

    zio.ZIO.ifM

  94. val interrupt: UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.interrupt

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

    Permalink

    See also

    See zio.ZIO.interruptAs

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

    Permalink

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

    Permalink

  98. final def isInstanceOf[T0]: Boolean

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

    Permalink

    See also

    See zio.ZIO.iterate

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

    Permalink

    See also

    See zio.ZIO.left

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

    Permalink

    See also

    See zio.ZIO.lock

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

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

    Permalink

    See also

    See zio.ZIO.loop_

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

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

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

    Permalink

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

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

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.memoize

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

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

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

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

    Permalink

    See also

    See zio.ZIO.never

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

    Permalink

    See also

    See zio.ZIO.none

  116. final def notify(): Unit

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

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

    Permalink

    See also

    See zio.ZIO.partition

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

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.raceAll

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

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.replicate

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

    Permalink

    See also

    See zio.ZIO.require

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

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

    Permalink

    See also

    zio.ZIO.right

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

    Permalink

    See also

    See zio.ZIO.runtime

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

    Permalink

    See also

    zio.ZIO.some

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

    Permalink

    See also

    See zio.ZIO.succeed

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

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

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

    Permalink

    See also

    See zio.ZIO.trace

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

    Permalink

    See also

    See zio.ZIO.traced

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

    Permalink

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

    Permalink

  137. val unit: UIO[Unit]

    Permalink

    See also

    See zio.ZIO.unit

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

    Permalink

    See also

    See zio.ZIO.unless

  139. def unlessM[E](b: IO[E, Boolean]): UnlessM[Any, E]

    Permalink

    See also

    See zio.ZIO.unlessM

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

    Permalink

    See also

    See zio.ZIO.unsandbox

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

    Permalink

    See also

    See zio.ZIO.untraced

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

    Permalink

    See also

    See zio.ZIO.validate

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

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.validatePar

  146. final def wait(): Unit

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

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

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

    Permalink

    See also

    See zio.ZIO.when

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

    Permalink

    See also

    See zio.ZIO.whenCase

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

    Permalink

    See also

    See zio.ZIO.whenCaseM

  152. def whenM[E](b: IO[E, Boolean]): WhenM[Any, E]

    Permalink

    See also

    See zio.ZIO.whenM

  153. val yieldNow: UIO[Unit]

    Permalink

    See also

    See zio.ZIO.yieldNow

Inherited from AnyRef

Inherited from Any

Ungrouped