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. final 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. final def absolve[E, A](v: IO[E, Either[E, A]]): IO[E, A]

    Permalink

    See also

    See zio.ZIO.absolve

  5. final def allowInterrupt: UIO[Unit]

    Permalink

  6. final 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. final def bracket[E, A, B](acquire: IO[E, A], release: (A) ⇒ UIO[_], use: (A) ⇒ IO[E, B]): IO[E, B]

    Permalink

    See also

    See bracket zio.ZIO

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

    Permalink

    See also

    See bracket zio.ZIO

  10. final def bracketExit[E, A, B](acquire: IO[E, A], release: (A, Exit[E, B]) ⇒ UIO[_], use: (A) ⇒ IO[E, B]): IO[E, B]

    Permalink

    See also

    See bracketExit zio.ZIO

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

    Permalink

    See also

    See bracketExit zio.ZIO

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

    Permalink

  13. final def checkSupervised[E, A](f: (SuperviseStatus) ⇒ IO[E, A]): IO[E, A]

    Permalink

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

    Permalink

    See also

    See zio.ZIO.checkTraced

  15. final def children: UIO[IndexedSeq[Fiber[_, _]]]

    Permalink

    See also

    See zio.ZIO.children

  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. final def collectAll[E, A](in: Iterable[IO[E, A]]): IO[E, List[A]]

    Permalink

    See also

    See zio.ZIO.collectAll

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

  26. final def descriptor: UIO[Descriptor]

    Permalink

    See also

    See zio.ZIO.descriptor

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

    Permalink

  28. final def die(t: Throwable): UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.die

  29. final def dieMessage(message: String): UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.dieMessage

  30. final def done[E, A](r: Exit[E, A]): IO[E, A]

    Permalink

    See also

    See zio.ZIO.done

  31. final def effect[A](effect: ⇒ A): Task[A]

    Permalink

    See also

    See zio.ZIO.effect

  32. final def effectAsync[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ Unit): IO[E, A]

    Permalink

    See also

    See zio.ZIO.effectAsync

  33. final def effectAsyncInterrupt[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ Either[Canceler, IO[E, A]]): IO[E, A]

    Permalink

  34. final def effectAsyncM[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ IO[E, _]): IO[E, A]

    Permalink

  35. final def effectAsyncMaybe[E, A](register: ((IO[E, A]) ⇒ Unit) ⇒ Option[IO[E, A]]): IO[E, A]

    Permalink

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

    Permalink

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

    Permalink

  38. final def effectSuspendTotalWith[E, A](p: (Platform) ⇒ IO[E, A]): IO[E, A]

    Permalink

  39. final def effectSuspendWith[A](p: (Platform) ⇒ IO[Throwable, A]): IO[Throwable, A]

    Permalink

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

    Permalink

    See also

    See zio.ZIO.effectTotal

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

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

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

    Permalink

    See also

    See zio.ZIO.fail

  44. def finalize(): Unit

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.flatten

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

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

    Permalink

    See also

    See zio.ZIO.foreach

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

    Permalink

    See also

    See zio.ZIO.foreachPar

  50. final 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

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

    Permalink

  52. final def foreachPar_[E, A, B](as: Iterable[A])(f: (A) ⇒ IO[E, _]): IO[E, Unit]

    Permalink

    See also

    See zio.ZIO.foreachPar_

  53. final def foreach_[E, A](as: Iterable[A])(f: (A) ⇒ IO[E, _]): IO[E, Unit]

    Permalink

    See also

    See zio.ZIO.foreach_

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

    Permalink

    See also

    See zio.ZIO.forkAll

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

    Permalink

    See also

    See zio.ZIO.forkAll_

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

    Permalink

    See also

    See zio.ZIO.fromEither

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

    Permalink

    See also

    See zio.ZIO.fromFiber

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

    Permalink

    See also

    See zio.ZIO.fromFiberM

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

    Permalink

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.fromFuture

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

    Permalink

    See also

    See zio.ZIO.fromOption

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

    Permalink

    See also

    See zio.ZIO.fromTry

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

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

    Permalink

    See also

    See zio.ZIO.halt

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

    Permalink

    See also

    See zio.ZIO.haltWith

  67. final def handleChildrenWith[E, A](io: IO[E, A])(supervisor: (IndexedSeq[Fiber[_, _]]) ⇒ UIO[_]): IO[E, A]

    Permalink

  68. def hashCode(): Int

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

    Permalink

  70. final val interrupt: UIO[Nothing]

    Permalink

    See also

    See See zio.ZIO.interrupt

  71. final def interruptChildren[E, A](io: IO[E, A]): IO[E, A]

    Permalink

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

    Permalink

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

    Permalink

  74. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  75. final def left[E, A](a: A): IO[E, Either[A, Nothing]]

    Permalink

    See also

    See zio.ZIO.left

  76. final def lock[E, A](executor: Executor)(io: IO[E, A]): IO[E, A]

    Permalink

    See also

    See zio.ZIO.lock

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

  78. final 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

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

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

    Permalink

    See also

    See zio.ZIO.never

  81. final val none: UIO[Option[Nothing]]

    Permalink

    See also

    See zio.ZIO.none

  82. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  84. final def raceAll[E, A](io: IO[E, A], ios: Iterable[IO[E, A]]): IO[E, A]

    Permalink

    See also

    See zio.ZIO.raceAll

  85. final 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

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.replicate

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

    Permalink

    See also

    See zio.ZIO.require

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

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

    Permalink

    See also

    zio.ZIO.right

  91. final def runtime: UIO[Runtime[Any]]

    Permalink

    See also

    See zio.ZIO.runtime

  92. final def sequence[E, A](in: Iterable[IO[E, A]]): IO[E, List[A]]

    Permalink

    See zio.ZIO.sequence

  93. final def sequencePar[E, A](as: Iterable[IO[E, A]]): IO[E, List[A]]

    Permalink

    See zio.ZIO.sequencePar

  94. final def sequenceParN[E, A](n: Int)(as: Iterable[IO[E, A]]): IO[E, List[A]]

    Permalink

    See zio.ZIO.sequenceParN

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

    Permalink

    See also

    zio.ZIO.some

  96. final def succeed[A](a: A): UIO[A]

    Permalink

    See also

    See zio.ZIO.succeed

  97. final def superviseStatus[E, A](status: SuperviseStatus)(io: IO[E, A]): IO[E, A]

    Permalink

  98. final def supervised[E, A](io: IO[E, A]): IO[E, A]

    Permalink

    See also

    See zio.ZIO.supervised

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

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

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

    Permalink

    See also

    See zio.ZIO.trace

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

    Permalink

    See also

    See zio.ZIO.traced

  103. final def traverse[E, A, B](in: Iterable[A])(f: (A) ⇒ IO[E, B]): IO[E, List[B]]

    Permalink

    See also

    See zio.ZIO.traverse

  104. final def traversePar[E, A, B](as: Iterable[A])(fn: (A) ⇒ IO[E, B]): IO[E, List[B]]

    Permalink

    See also

    See zio.ZIO.traversePar

  105. final def traverseParN[E, A, B](n: Int)(as: Iterable[A])(fn: (A) ⇒ IO[E, B]): IO[E, List[B]]

    Permalink

    Alias for ZIO.foreachParN

  106. final def traverseParN_[E, A](n: Int)(as: Iterable[A])(f: (A) ⇒ IO[E, _]): IO[E, Unit]

    Permalink

  107. final def traversePar_[E, A](as: Iterable[A])(f: (A) ⇒ IO[E, _]): IO[E, Unit]

    Permalink

  108. final def traverse_[E, A](as: Iterable[A])(f: (A) ⇒ IO[E, _]): IO[E, Unit]

    Permalink

    See also

    See zio.ZIO.traverse_

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

    Permalink

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

    Permalink

  111. final val unit: UIO[Unit]

    Permalink

    See also

    See zio.ZIO.unit

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

    Permalink

    See also

    See zio.ZIO.unsandbox

  113. final def unsupervised[E, A](io: IO[E, A]): IO[E, A]

    Permalink

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

    Permalink

    See also

    See zio.ZIO.untraced

  115. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  118. final def when[E](b: Boolean)(io: IO[E, _]): IO[E, Unit]

    Permalink

    See also

    See zio.ZIO.when

  119. final def whenCase[R, E, A](a: A)(pf: PartialFunction[A, ZIO[R, E, _]]): ZIO[R, E, Unit]

    Permalink

    See also

    See zio.ZIO.whenCase

  120. final def whenCaseM[R, E, A](a: ZIO[R, E, A])(pf: PartialFunction[A, ZIO[R, E, _]]): ZIO[R, E, Unit]

    Permalink

    See also

    See zio.ZIO.whenCaseM

  121. final def whenM[E](b: IO[E, Boolean])(io: IO[E, _]): IO[E, Unit]

    Permalink

    See also

    See zio.ZIO.whenM

  122. final val yieldNow: UIO[Unit]

    Permalink

    See also

    See zio.ZIO.yieldNow

Deprecated Value Members

  1. final def succeedLazy[A](a: ⇒ A): UIO[A]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use effectTotal

  2. final def suspend[E, A](io: ⇒ IO[E, A]): IO[E, A]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use effectSuspendTotal

  3. final def suspendWith[E, A](p: (Platform) ⇒ IO[E, A]): IO[E, A]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use effectSuspendTotalWith

Inherited from AnyRef

Inherited from Any

Ungrouped