Object

zio

Task

Related Doc: package zio

Permalink

object Task

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

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[A](v: Task[Either[Throwable, A]]): Task[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[A, B](acquire: Task[A], release: (A) ⇒ UIO[_], use: (A) ⇒ Task[B]): Task[B]

    Permalink

    See also

    See bracket zio.ZIO

  9. final def bracket[A](acquire: Task[A]): BracketAcquire[Any, Throwable, A]

    Permalink

    See also

    See bracket zio.ZIO

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

    Permalink

    See also

    See bracketExit zio.ZIO

  11. final def bracketExit[A](acquire: Task[A]): BracketExitAcquire[Any, Throwable, A]

    Permalink

    See also

    See bracketExit zio.ZIO

  12. final def checkInterruptible[A](f: (InterruptStatus) ⇒ Task[A]): Task[A]

    Permalink

  13. final def checkSupervised[A](f: (SuperviseStatus) ⇒ Task[A]): Task[A]

    Permalink

  14. final def checkTraced[A](f: (TracingStatus) ⇒ Task[A]): Task[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[A](in: Iterable[Task[A]]): Task[List[A]]

    Permalink

    See also

    See zio.ZIO.collectAll

  18. final def collectAllPar[A](as: Iterable[Task[A]]): Task[List[A]]

    Permalink

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

    Permalink

  20. final def collectAllSuccesses[A](in: Iterable[Task[A]]): Task[List[A]]

    Permalink

  21. final def collectAllSuccessesPar[A](as: Iterable[Task[A]]): Task[List[A]]

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

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

    Permalink

  26. final def descriptor: UIO[Descriptor]

    Permalink

    See also

    See zio.ZIO.descriptor

  27. final def descriptorWith[A](f: (Descriptor) ⇒ Task[A]): Task[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[A](r: Exit[Throwable, A]): Task[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[A](register: ((Task[A]) ⇒ Unit) ⇒ Unit): Task[A]

    Permalink

    See also

    See zio.ZIO.effectAsync

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

    Permalink

  34. final def effectAsyncM[A](register: ((Task[A]) ⇒ Unit) ⇒ Task[_]): Task[A]

    Permalink

  35. final def effectAsyncMaybe[A](register: ((Task[A]) ⇒ Unit) ⇒ Option[Task[A]]): Task[A]

    Permalink

  36. final def effectSuspend[A](task: ⇒ Task[A]): Task[A]

    Permalink

  37. final def effectSuspendTotal[A](task: ⇒ Task[A]): Task[A]

    Permalink

  38. final def effectSuspendTotalWith[A](p: (Platform) ⇒ Task[A]): Task[A]

    Permalink

  39. final def effectSuspendWith[A](p: (Platform) ⇒ Task[A]): Task[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(error: Throwable): Task[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[A](task: Task[A], rest: Iterable[Task[A]]): Task[A]

    Permalink

  46. final def flatten[A](task: Task[Task[A]]): Task[A]

    Permalink

    See also

    See zio.ZIO.flatten

  47. final def foldLeft[S, A](in: Iterable[A])(zero: S)(f: (S, A) ⇒ Task[S]): Task[S]

    Permalink

    See also

    See zio.ZIO.foldLeft

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

    Permalink

    See also

    See zio.ZIO.foreach

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

    Permalink

    See also

    See zio.ZIO.foreachPar

  50. final def foreachParN[A, B](n: Int)(as: Iterable[A])(fn: (A) ⇒ Task[B]): Task[List[B]]

    Permalink

    See also

    See zio.ZIO.foreachParN

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

    Permalink

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

    Permalink

    See also

    See zio.ZIO.foreachPar_

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

    Permalink

    See also

    See zio.ZIO.foreach_

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

    Permalink

    See also

    See zio.ZIO.forkAll

  55. final def forkAll_[A](as: Iterable[Task[A]]): UIO[Unit]

    Permalink

    See also

    See zio.ZIO.forkAll_

  56. final def fromEither[A](v: ⇒ Either[Throwable, A]): Task[A]

    Permalink

    See also

    See zio.ZIO.fromEither

  57. final def fromFiber[A](fiber: ⇒ Fiber[Throwable, A]): Task[A]

    Permalink

    See also

    See zio.ZIO.fromFiber

  58. final def fromFiberM[A](fiber: Task[Fiber[Throwable, A]]): Task[A]

    Permalink

    See also

    See zio.ZIO.fromFiberM

  59. final def fromFunction[A](f: (Any) ⇒ A): Task[A]

    Permalink

  60. final def fromFunctionM[A](f: (Any) ⇒ Task[A]): Task[A]

    Permalink

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

    Permalink

    See also

    See zio.ZIO.fromFuture

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

    Permalink

    See also

    See zio.ZIO.fromTry

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

    Permalink
    Definition Classes
    AnyRef → Any
  64. final def halt(cause: Cause[Throwable]): Task[Nothing]

    Permalink

    See also

    See zio.ZIO.halt

  65. final def haltWith[E <: Throwable](function: (() ⇒ ZTrace) ⇒ Cause[E]): Task[Nothing]

    Permalink

    See also

    See zio.ZIO.haltWith

  66. final def handleChildrenWith[A](task: Task[A])(supervisor: (IndexedSeq[Fiber[_, _]]) ⇒ UIO[_]): Task[A]

    Permalink

  67. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  68. final def identity: Task[Any]

    Permalink

  69. final val interrupt: UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.interrupt

  70. final def interruptChildren[A](task: Task[A]): Task[A]

    Permalink

  71. final def interruptible[A](task: Task[A]): Task[A]

    Permalink

  72. final def interruptibleMask[A](k: (InterruptStatusRestore) ⇒ Task[A]): Task[A]

    Permalink

  73. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  74. final def left[A](a: A): Task[Either[A, Nothing]]

    Permalink

    See also

    See zio.ZIO.left

  75. final def lock[A](executor: Executor)(task: Task[A]): Task[A]

    Permalink

    See also

    See zio.ZIO.lock

  76. final def mergeAll[A, B](in: Iterable[Task[A]])(zero: B)(f: (B, A) ⇒ B): Task[B]

    Permalink

    See also

    See zio.ZIO.mergeAll

  77. final def mergeAllPar[A, B](in: Iterable[Task[A]])(zero: B)(f: (B, A) ⇒ B): Task[B]

    Permalink

    See also

    See zio.ZIO.mergeAllPar

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

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

    Permalink

    See also

    See zio.ZIO.never

  80. final val none: Task[Option[Nothing]]

    Permalink

    See also

    See zio.ZIO.none

  81. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  83. final def raceAll[A](task: Task[A], ios: Iterable[Task[A]]): Task[A]

    Permalink

    See also

    See zio.ZIO.raceAll

  84. final def reduceAll[A](a: Task[A], as: Iterable[Task[A]])(f: (A, A) ⇒ A): Task[A]

    Permalink

    See also

    See zio.ZIO.reduceAll

  85. final def reduceAllPar[A](a: Task[A], as: Iterable[Task[A]])(f: (A, A) ⇒ A): Task[A]

    Permalink

  86. def replicate[A](n: Int)(effect: Task[A]): Iterable[Task[A]]

    Permalink

    See also

    See zio.ZIO.replicate

  87. final def require[A](error: Throwable): (Task[Option[A]]) ⇒ Task[A]

    Permalink

    See also

    See zio.ZIO.require

  88. final def reserve[A, B](reservation: Task[Reservation[Any, Throwable, A]])(use: (A) ⇒ Task[B]): Task[B]

    Permalink

    See also

    See zio.ZIO.reserve

  89. def right[B](b: B): Task[Either[Nothing, B]]

    Permalink

    See also

    zio.ZIO.right

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

    Permalink

    See also

    See zio.ZIO.runtime

  91. final def sequence[A](in: Iterable[Task[A]]): Task[List[A]]

    Permalink

    See zio.ZIO.sequence

  92. final def sequencePar[A](as: Iterable[Task[A]]): Task[List[A]]

    Permalink

    See zio.ZIO.sequencePar

  93. final def sequenceParN[A](n: Int)(as: Iterable[Task[A]]): Task[List[A]]

    Permalink

    See zio.ZIO.sequenceParN

  94. def some[A](a: A): Task[Option[A]]

    Permalink

    See also

    zio.ZIO.some

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

    Permalink

    See also

    See zio.ZIO.succeed

  96. final def superviseStatus[A](status: SuperviseStatus)(task: Task[A]): Task[A]

    Permalink

  97. final def supervised[A](task: Task[A]): Task[A]

    Permalink

    See also

    See zio.ZIO.supervised

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

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

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

    Permalink

    See also

    See zio.ZIO.trace

  101. final def traced[A](task: Task[A]): Task[A]

    Permalink

    See also

    See zio.ZIO.traced

  102. final def traverse[A, B](in: Iterable[A])(f: (A) ⇒ Task[B]): Task[List[B]]

    Permalink

    See also

    See zio.ZIO.traverse

  103. final def traversePar[A, B](as: Iterable[A])(fn: (A) ⇒ Task[B]): Task[List[B]]

    Permalink

    See also

    See zio.ZIO.traversePar

  104. final def traverseParN[A, B](n: Int)(as: Iterable[A])(fn: (A) ⇒ Task[B]): Task[List[B]]

    Permalink

    Alias for ZIO.foreachParN

  105. final def traverseParN_[A](n: Int)(as: Iterable[A])(f: (A) ⇒ Task[_]): Task[Unit]

    Permalink

  106. final def traversePar_[A](as: Iterable[A])(f: (A) ⇒ Task[_]): Task[Unit]

    Permalink

  107. final def traverse_[A](as: Iterable[A])(f: (A) ⇒ Task[_]): Task[Unit]

    Permalink

    See also

    See zio.ZIO.traverse_

  108. final def uninterruptible[A](task: Task[A]): Task[A]

    Permalink

  109. final def uninterruptibleMask[A](k: (InterruptStatusRestore) ⇒ Task[A]): Task[A]

    Permalink

  110. final val unit: UIO[Unit]

    Permalink

    See also

    See zio.ZIO.unit

  111. final def unsandbox[A](v: IO[Cause[Throwable], A]): Task[A]

    Permalink

  112. final def unsupervised[A](task: Task[A]): Task[A]

    Permalink

  113. final def untraced[A](task: Task[A]): Task[A]

    Permalink

    See also

    See zio.ZIO.untraced

  114. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  117. final def when(b: Boolean)(task: Task[_]): Task[Unit]

    Permalink

    See also

    See zio.ZIO.when

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

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

  120. final def whenM(b: Task[Boolean])(task: Task[_]): Task[Unit]

    Permalink

    See also

    See zio.ZIO.whenM

  121. 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[A](task: ⇒ Task[A]): Task[A]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use effectSuspendTotal

  3. final def suspendWith[A](p: (Platform) ⇒ Task[A]): Task[A]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use effectSuspendTotalWith

Inherited from AnyRef

Inherited from Any

Ungrouped