o

zio

Task

object Task extends TaskPlatformSpecific

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

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[A](v: Task[Either[Throwable, A]]): Task[A]

    See also

    See zio.ZIO.absolve

  5. def allowInterrupt: UIO[Unit]

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

    See also

    See zio.ZIO.apply

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def bracket[A, B](acquire: Task[A], release: (A) ⇒ UIO[Any], use: (A) ⇒ Task[B]): Task[B]

    See also

    See bracket zio.ZIO

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

    See also

    See bracket zio.ZIO

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

    See also

    See bracketExit zio.ZIO

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

    See also

    See bracketExit zio.ZIO

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

  13. def checkTraced[A](f: (TracingStatus) ⇒ Task[A]): Task[A]

    See also

    See zio.ZIO.checkTraced

  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  15. def collect[A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) ⇒ IO[Option[Throwable], B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): Task[Collection[B]]

    See also

    See zio.ZIO.collect

  16. def collectAll[A](in: NonEmptyChunk[Task[A]]): Task[NonEmptyChunk[A]]

  17. def collectAll[A](in: Array[Task[A]])(implicit arg0: ClassTag[A]): Task[Array[A]]

  18. def collectAll[A](in: Set[Task[A]]): Task[Set[A]]

  19. def collectAll[A, Collection[+Element] <: Iterable[Element]](in: Collection[Task[A]])(implicit bf: zio.BuildFrom[Collection[Task[A]], A, Collection[A]]): Task[Collection[A]]

  20. def collectAllPar[A](as: NonEmptyChunk[Task[A]]): Task[NonEmptyChunk[A]]

  21. def collectAllPar[A](as: Array[Task[A]])(implicit arg0: ClassTag[A]): Task[Array[A]]

  22. def collectAllPar[A](as: Set[Task[A]]): Task[Set[A]]

  23. def collectAllPar[A, Collection[+Element] <: Iterable[Element]](as: Collection[Task[A]])(implicit bf: zio.BuildFrom[Collection[Task[A]], A, Collection[A]]): Task[Collection[A]]

  24. def collectAllParN[A, Collection[+Element] <: Iterable[Element]](n: Int)(as: Collection[Task[A]])(implicit bf: zio.BuildFrom[Collection[Task[A]], A, Collection[A]]): Task[Collection[A]]

  25. def collectAllParN_[A](n: Int)(as: Iterable[Task[A]]): Task[Unit]

  26. def collectAllPar_[A](in: Iterable[Task[A]]): Task[Unit]

  27. def collectAllSuccesses[A, Collection[+Element] <: Iterable[Element]](in: Collection[Task[A]])(implicit bf: zio.BuildFrom[Collection[Task[A]], A, Collection[A]]): UIO[Collection[A]]

  28. def collectAllSuccessesPar[A, Collection[+Element] <: Iterable[Element]](as: Collection[Task[A]])(implicit bf: zio.BuildFrom[Collection[Task[A]], A, Collection[A]]): UIO[Collection[A]]

  29. def collectAllSuccessesParN[A, Collection[+Element] <: Iterable[Element]](n: Int)(as: Collection[Task[A]])(implicit bf: zio.BuildFrom[Collection[Task[A]], A, Collection[A]]): UIO[Collection[A]]

  30. def collectAllWith[A, B, Collection[+Element] <: Iterable[Element]](as: Collection[Task[A]])(f: PartialFunction[A, B])(implicit bf: zio.BuildFrom[Collection[Task[A]], B, Collection[B]]): Task[Collection[B]]

  31. def collectAllWithPar[A, B, Collection[+Element] <: Iterable[Element]](as: Collection[Task[A]])(f: PartialFunction[A, B])(implicit bf: zio.BuildFrom[Collection[Task[A]], B, Collection[B]]): Task[Collection[B]]

  32. def collectAllWithParN[A, B, Collection[+Element] <: Iterable[Element]](n: Int)(as: Collection[Task[A]])(f: PartialFunction[A, B])(implicit bf: zio.BuildFrom[Collection[Task[A]], B, Collection[B]]): Task[Collection[B]]

  33. def collectAll_[A](in: Iterable[Task[A]]): Task[Unit]

  34. def collectPar[A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) ⇒ IO[Option[Throwable], B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): Task[Collection[B]]

    See also

    See zio.ZIO.collectPar

  35. def collectParN[A, B, Collection[+Element] <: Iterable[Element]](n: Int)(in: Collection[A])(f: (A) ⇒ IO[Option[Throwable], B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): Task[Collection[B]]

    See also

    See zio.ZIO.collectParN

  36. def cond[A](predicate: Boolean, result: ⇒ A, error: ⇒ Throwable): Task[A]

    See also

    See zio.ZIO.cond

  37. def descriptor: UIO[Descriptor]

    See also

    See zio.ZIO.descriptor

  38. def descriptorWith[A](f: (Descriptor) ⇒ Task[A]): Task[A]

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

    See also

    See zio.ZIO.die

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

    See also

    See zio.ZIO.dieMessage

  41. def done[A](r: ⇒ Exit[Throwable, A]): Task[A]

    See also

    See zio.ZIO.done

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

    See also

    See zio.ZIO.effect

  43. def effectAsync[A](register: ((Task[A]) ⇒ Unit) ⇒ Any, blockingOn: List[Id] = Nil): Task[A]

    See also

    See zio.ZIO.effectAsync

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

  45. def effectAsyncM[A](register: ((Task[A]) ⇒ Unit) ⇒ Task[Any]): Task[A]

  46. def effectAsyncMaybe[A](register: ((Task[A]) ⇒ Unit) ⇒ Option[Task[A]], blockingOn: List[Id] = Nil): Task[A]

  47. def effectAsyncWithCompletionHandler[T](op: (CompletionHandler[T, Any]) ⇒ Any): Task[T]
    Definition Classes
    TaskPlatformSpecific
  48. def effectSuspend[A](task: ⇒ Task[A]): Task[A]

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

  50. def effectSuspendTotalWith[A](p: (Platform, Id) ⇒ Task[A]): Task[A]

  51. def effectSuspendWith[A](p: (Platform, Id) ⇒ Task[A]): Task[A]

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

    See also

    See zio.ZIO.effectTotal

  53. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  54. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  55. def executor: UIO[Executor]

    See also

    See zio.ZIO.executor

  56. def fail(error: ⇒ Throwable): Task[Nothing]

    See also

    See zio.ZIO.fail

  57. val fiberId: UIO[Id]

  58. def filter[A](as: Set[A])(f: (A) ⇒ Task[Boolean]): Task[Set[A]]

  59. def filter[A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) ⇒ Task[Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]]): Task[Collection[A]]

  60. def filterNot[A](as: Set[A])(f: (A) ⇒ Task[Boolean]): Task[Set[A]]

  61. def filterNot[A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) ⇒ Task[Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]]): Task[Collection[A]]

  62. def filterNotPar[A](as: Set[A])(f: (A) ⇒ Task[Boolean]): Task[Set[A]]

  63. def filterNotPar[A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) ⇒ Task[Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]]): Task[Collection[A]]

  64. def filterPar[A](as: Set[A])(f: (A) ⇒ Task[Boolean]): Task[Set[A]]

  65. def filterPar[A, Collection[+Element] <: Iterable[Element]](as: Collection[A])(f: (A) ⇒ Task[Boolean])(implicit bf: zio.BuildFrom[Collection[A], A, Collection[A]]): Task[Collection[A]]

  66. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  67. def firstSuccessOf[A](task: Task[A], rest: Iterable[Task[A]]): Task[A]

  68. def flatten[A](task: Task[Task[A]]): Task[A]

    See also

    See zio.ZIO.flatten

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

    See also

    See zio.ZIO.foldLeft

  70. def foldRight[S, A](in: Iterable[A])(zero: S)(f: (A, S) ⇒ Task[S]): Task[S]

    See also

    See zio.ZIO.foldRight

  71. def foreach[A, B](in: NonEmptyChunk[A])(f: (A) ⇒ Task[B]): Task[NonEmptyChunk[B]]

  72. def foreach[A, B](in: Option[A])(f: (A) ⇒ Task[B]): Task[Option[B]]

  73. def foreach[Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ Task[(Key2, Value2)]): Task[Map[Key2, Value2]]

  74. def foreach[A, B](in: Array[A])(f: (A) ⇒ Task[B])(implicit arg0: ClassTag[B]): Task[Array[B]]

  75. def foreach[A, B](in: Set[A])(f: (A) ⇒ Task[B]): Task[Set[B]]

  76. def foreach[A, B, Collection[+Element] <: Iterable[Element]](in: Collection[A])(f: (A) ⇒ Task[B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): Task[Collection[B]]

  77. final def foreachExec[A, B, Collection[+Element] <: Iterable[Element]](as: Collection[A])(exec: ExecutionStrategy)(f: (A) ⇒ Task[B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): Task[Collection[B]]

    See also

    See zio.ZIO.foreachExec

  78. def foreachPar[A, B](as: NonEmptyChunk[A])(fn: (A) ⇒ Task[B]): Task[NonEmptyChunk[B]]

  79. def foreachPar[Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ Task[(Key2, Value2)]): Task[Map[Key2, Value2]]

  80. def foreachPar[A, B](as: Array[A])(fn: (A) ⇒ Task[B])(implicit arg0: ClassTag[B]): Task[Array[B]]

  81. def foreachPar[A, B](as: Set[A])(fn: (A) ⇒ Task[B]): Task[Set[B]]

  82. def foreachPar[A, B, Collection[+Element] <: Iterable[Element]](as: Collection[A])(fn: (A) ⇒ Task[B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): Task[Collection[B]]

  83. def foreachParN[A, B, Collection[+Element] <: Iterable[Element]](n: Int)(as: Collection[A])(fn: (A) ⇒ Task[B])(implicit bf: zio.BuildFrom[Collection[A], B, Collection[B]]): Task[Collection[B]]

    See also

    See zio.ZIO.foreachParN

  84. def foreachParN_[A, B](n: Int)(as: Iterable[A])(f: (A) ⇒ Task[Any]): Task[Unit]

  85. def foreachPar_[A, B](as: Iterable[A])(f: (A) ⇒ Task[Any]): Task[Unit]

  86. def foreach_[A](as: Iterable[A])(f: (A) ⇒ Task[Any]): Task[Unit]

  87. def forkAll[A, Collection[+Element] <: Iterable[Element]](as: Collection[Task[A]])(implicit bf: zio.BuildFrom[Collection[Task[A]], A, Collection[A]]): UIO[Fiber[Throwable, Collection[A]]]

    See also

    See zio.ZIO.forkAll

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

    See also

    See zio.ZIO.forkAll_

  89. def fromCompletionStage[A](cs: ⇒ CompletionStage[A]): Task[A]
    Definition Classes
    TaskPlatformSpecific
  90. def fromEither[A](v: ⇒ Either[Throwable, A]): Task[A]

    See also

    See zio.ZIO.fromEither

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

    See also

    See zio.ZIO.fromFiber

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

    See also

    See zio.ZIO.fromFiberM

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

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

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

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

    See also

    See zio.ZIO.fromFuture

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

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

    See also

    See zio.ZIO.fromTry

  99. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  100. final def getOrFail[A](v: ⇒ Option[A]): Task[A]

    See also

    See zio.ZIO.getOrFail

  101. def halt(cause: ⇒ Cause[Throwable]): Task[Nothing]

    See also

    See zio.ZIO.halt

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

    See also

    See zio.ZIO.haltWith

  103. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  104. def identity: Task[Any]

  105. def ifM(b: Task[Boolean]): IfM[Any, Throwable]

    See also

    zio.ZIO.ifM

  106. val interrupt: UIO[Nothing]

    See also

    See zio.ZIO.interrupt

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

    See also

    See zio.ZIO.interruptAs

  108. def interruptible[A](task: Task[A]): Task[A]

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

  110. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  111. def iterate[S](initial: S)(cont: (S) ⇒ Boolean)(body: (S) ⇒ Task[S]): Task[S]

    See also

    See zio.ZIO.iterate

  112. def left[A](a: ⇒ A): Task[Either[A, Nothing]]

    See also

    See zio.ZIO.left

  113. def lock[A](executor: ⇒ Executor)(task: Task[A]): Task[A]

    See also

    See zio.ZIO.lock

  114. def loop[A, S](initial: S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ Task[A]): Task[List[A]]

    See also

    See zio.ZIO.loop

  115. def loop_[S](initial: S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ Task[Any]): Task[Unit]

    See also

    See zio.ZIO.loop_

  116. def mapN[A, B, C, D, F](task1: Task[A], task2: Task[B], task3: Task[C], task4: Task[D])(f: (A, B, C, D) ⇒ F): Task[F]

  117. def mapN[A, B, C, D](task1: Task[A], task2: Task[B], task3: Task[C])(f: (A, B, C) ⇒ D): Task[D]

  118. def mapN[A, B, C](task1: Task[A], task2: Task[B])(f: (A, B) ⇒ C): Task[C]

  119. def mapParN[A, B, C, D, F](task1: Task[A], task2: Task[B], task3: Task[C], task4: Task[D])(f: (A, B, C, D) ⇒ F): Task[F]

  120. def mapParN[A, B, C, D](task1: Task[A], task2: Task[B], task3: Task[C])(f: (A, B, C) ⇒ D): Task[D]

  121. def mapParN[A, B, C](task1: Task[A], task2: Task[B])(f: (A, B) ⇒ C): Task[C]

  122. def memoize[A, B](f: (A) ⇒ Task[B]): UIO[(A) ⇒ Task[B]]

    See also

    See zio.ZIO.memoize

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

    See also

    See zio.ZIO.mergeAll

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

    See also

    See zio.ZIO.mergeAllPar

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

    See also

    See zio.ZIO.never

  127. val none: Task[Option[Nothing]]

    See also

    See zio.ZIO.none

  128. def not(effect: Task[Boolean]): Task[Boolean]

    See also

    See zio.ZIO.not

  129. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  130. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  131. def partition[A, B](in: Iterable[A])(f: (A) ⇒ Task[B]): Task[(Iterable[Throwable], Iterable[B])]

    See also

    See zio.ZIO.partition

  132. def partitionPar[A, B](in: Iterable[A])(f: (A) ⇒ Task[B]): Task[(Iterable[Throwable], Iterable[B])]

  133. def partitionParN[A, B](n: Int)(in: Iterable[A])(f: (A) ⇒ Task[B]): Task[(Iterable[Throwable], Iterable[B])]

  134. def raceAll[A](task: Task[A], ios: Iterable[Task[A]]): Task[A]

    See also

    See zio.ZIO.raceAll

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

    See also

    See zio.ZIO.reduceAll

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

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

    See also

    See zio.ZIO.replicate

  138. def replicateM[A](n: Int)(effect: Task[A]): Task[Iterable[A]]

    See also

    See zio.ZIO.replicateM

  139. def replicateM_[A](n: Int)(effect: Task[A]): Task[Unit]

    See also

    See zio.ZIO.replicateM_

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

    See also

    See zio.ZIO.require

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

    See also

    See zio.ZIO.reserve

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

    See also

    zio.ZIO.right

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

    See also

    See zio.ZIO.runtime

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

    See also

    zio.ZIO.some

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

    See also

    See zio.ZIO.succeed

  146. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  147. def toString(): String
    Definition Classes
    AnyRef → Any
  148. def trace: UIO[ZTrace]

    See also

    See zio.ZIO.trace

  149. def traced[A](task: Task[A]): Task[A]

    See also

    See zio.ZIO.traced

  150. def uninterruptible[A](task: Task[A]): Task[A]

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

  152. val unit: UIO[Unit]

    See also

    See zio.ZIO.unit

  153. def unless(b: ⇒ Boolean)(zio: ⇒ Task[Any]): Task[Unit]

    See also

    See zio.ZIO.unless

  154. def unlessM(b: Task[Boolean]): UnlessM[Any, Throwable]

    See also

    See zio.ZIO.unlessM

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

  156. def untraced[A](task: Task[A]): Task[A]

    See also

    See zio.ZIO.untraced

  157. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  158. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  159. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  160. def when(b: ⇒ Boolean)(task: ⇒ Task[Any]): Task[Unit]

    See also

    See zio.ZIO.when

  161. def whenCase[A](a: ⇒ A)(pf: PartialFunction[A, Task[Any]]): Task[Unit]

    See also

    See zio.ZIO.whenCase

  162. def whenCaseM[A](a: Task[A])(pf: PartialFunction[A, Task[Any]]): Task[Unit]

    See also

    See zio.ZIO.whenCaseM

  163. def whenM(b: Task[Boolean]): WhenM[Any, Throwable]

    See also

    See zio.ZIO.whenM

  164. val yieldNow: UIO[Unit]

    See also

    See zio.ZIO.yieldNow

Inherited from TaskPlatformSpecific

Inherited from AnyRef

Inherited from Any

Ungrouped