Packages

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

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 adopt(fiber: Fiber[Any, Any]): UIO[Boolean]

    See also

    See zio.ZIO.adopt

  6. def allowInterrupt: UIO[Unit]

  7. def apply[A](a: => A): Task[A]

    See also

    See zio.ZIO.apply

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. val awaitAllChildren: UIO[Unit]

  10. def bracket[A, B](acquire: Task[A], release: (A) => UIO[Any], use: (A) => Task[B]): Task[B]

    See also

    See bracket zio.ZIO

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

    See also

    See bracket zio.ZIO

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

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

    See also

    See bracketExit zio.ZIO

  14. def checkInterruptible[A](f: (InterruptStatus) => Task[A]): Task[A]

  15. def checkTraced[A](f: (TracingStatus) => Task[A]): Task[A]

  16. def children: UIO[Iterable[Fiber[Any, Any]]]

    See also

    See zio.ZIO.children

  17. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  18. def collectAll[A](in: Iterable[Task[A]]): Task[List[A]]

    See also

    See zio.ZIO.collectAll

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

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

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

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

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

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

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

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

  27. def descriptor: UIO[Descriptor]

    See also

    See zio.ZIO.descriptor

  28. def descriptorWith[A](f: (Descriptor) => Task[A]): Task[A]

  29. def die(t: => Throwable): UIO[Nothing]

    See also

    See zio.ZIO.die

  30. def dieMessage(message: => String): UIO[Nothing]

    See also

    See zio.ZIO.dieMessage

  31. def disown(fiber: Fiber[Any, Any]): UIO[Boolean]

    See also

    See zio.ZIO.disown

  32. def done[A](r: => Exit[Throwable, A]): Task[A]

    See also

    See zio.ZIO.done

  33. def effect[A](effect: => A): Task[A]

    See also

    See zio.ZIO.effect

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

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

  36. def effectAsyncM[A](register: ((Task[A]) => Unit) => Task[Any]): Task[A]

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

  38. def effectAsyncWithCompletionHandler[T](op: (CompletionHandler[T, Any]) => Unit): Task[T]
    Definition Classes
    TaskPlatformSpecific
  39. def effectSuspend[A](task: => Task[A]): Task[A]

  40. def effectSuspendTotal[A](task: => Task[A]): Task[A]

  41. def effectSuspendTotalWith[A](p: (Platform, Id) => Task[A]): Task[A]

  42. def effectSuspendWith[A](p: (Platform, Id) => Task[A]): Task[A]

  43. def effectTotal[A](effect: => A): UIO[A]

  44. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  45. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  46. def fail(error: => Throwable): Task[Nothing]

    See also

    See zio.ZIO.fail

  47. val fiberId: UIO[Id]

  48. def filter[A](as: Iterable[A])(f: (A) => Task[Boolean]): Task[List[A]]

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

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

    See also

    See zio.ZIO.flatten

  52. def foldLeft[S, A](in: Iterable[A])(zero: S)(f: (S, A) => Task[S]): Task[S]

    See also

    See zio.ZIO.foldLeft

  53. def foldRight[S, A](in: Iterable[A])(zero: S)(f: (A, S) => Task[S]): Task[S]

    See also

    See zio.ZIO.foldRight

  54. final def foreach[A, B](in: Chunk[A])(f: (A) => Task[B]): Task[Chunk[B]]

  55. final def foreach[A, B](in: Option[A])(f: (A) => Task[B]): Task[Option[B]]

  56. def foreach[A, B](in: Iterable[A])(f: (A) => Task[B]): Task[List[B]]

  57. final def foreachPar[A, B](as: Chunk[A])(fn: (A) => Task[B]): Task[Chunk[B]]

  58. def foreachPar[A, B](as: Iterable[A])(fn: (A) => Task[B]): Task[List[B]]

  59. def foreachParN[A, B](n: Int)(as: Iterable[A])(fn: (A) => Task[B]): Task[List[B]]

  60. def foreachParN_[A, B](n: Int)(as: Iterable[A])(f: (A) => Task[Any]): Task[Unit]

  61. final def foreachPar_[A, B](as: Chunk[A])(f: (A) => Task[Any]): Task[Unit]

  62. def foreachPar_[A, B](as: Iterable[A])(f: (A) => Task[Any]): Task[Unit]

  63. final def foreach_[A](as: Chunk[A])(f: (A) => Task[Any]): Task[Unit]

  64. def foreach_[A](as: Iterable[A])(f: (A) => Task[Any]): Task[Unit]

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

    See also

    See zio.ZIO.forkAll

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

    See also

    See zio.ZIO.forkAll_

  67. def fromCompletionStage[A](cs: => CompletionStage[A]): Task[A]
    Definition Classes
    TaskPlatformSpecific
  68. def fromEither[A](v: => Either[Throwable, A]): Task[A]

    See also

    See zio.ZIO.fromEither

  69. def fromFiber[A](fiber: => Fiber[Throwable, A]): Task[A]

    See also

    See zio.ZIO.fromFiber

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

    See also

    See zio.ZIO.fromFiberM

  71. def fromFunction[A](f: (Any) => A): Task[A]

  72. def fromFunctionFuture[A](f: (Any) => Future[A]): Task[A]

  73. def fromFunctionM[A](f: (Any) => Task[A]): Task[A]

  74. def fromFuture[A](make: (ExecutionContext) => Future[A]): Task[A]

    See also

    See zio.ZIO.fromFuture

  75. def fromFutureInterrupt[A](make: (ExecutionContext) => Future[A]): Task[A]

  76. def fromTry[A](value: => Try[A]): Task[A]

    See also

    See zio.ZIO.fromTry

  77. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  78. final def getOrFail[A](v: => Option[A]): Task[A]

    See also

    See zio.ZIO.getOrFail

  79. def halt(cause: => Cause[Throwable]): Task[Nothing]

    See also

    See zio.ZIO.halt

  80. def haltWith[E <: Throwable](function: (() => ZTrace) => Cause[E]): Task[Nothing]

    See also

    See zio.ZIO.haltWith

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

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

    See also

    zio.ZIO.ifM

  84. val interrupt: UIO[Nothing]

    See also

    See zio.ZIO.interrupt

  85. def interruptAllChildren: UIO[Unit]

    See also

    See [zio.ZIO.interruptAllChildren]

  86. def interruptAs(fiberId: => Id): UIO[Nothing]

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

  88. def interruptibleMask[A](k: (InterruptStatusRestore) => Task[A]): Task[A]

  89. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  90. def iterate[S](initial: S)(cont: (S) => Boolean)(body: (S) => Task[S]): Task[S]

    See also

    See zio.ZIO.iterate

  91. def left[A](a: => A): Task[Either[A, Nothing]]

    See also

    See zio.ZIO.left

  92. def lock[A](executor: => Executor)(task: Task[A]): Task[A]

    See also

    See zio.ZIO.lock

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

  94. def loop_[S](initial: S)(cont: (S) => Boolean, inc: (S) => S)(body: (S) => Task[Any]): Task[Unit]

    See also

    See zio.ZIO.loop_

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

  96. def mapN[A, B, C, D](task1: Task[A], task2: Task[B], task3: Task[C])(f: (A, B, C) => D): Task[D]

  97. def mapN[A, B, C](task1: Task[A], task2: Task[B])(f: (A, B) => C): Task[C]

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

  99. def mapParN[A, B, C, D](task1: Task[A], task2: Task[B], task3: Task[C])(f: (A, B, C) => D): Task[D]

  100. def mapParN[A, B, C](task1: Task[A], task2: Task[B])(f: (A, B) => C): Task[C]

  101. def mergeAll[A, B](in: Iterable[Task[A]])(zero: B)(f: (B, A) => B): Task[B]

    See also

    See zio.ZIO.mergeAll

  102. def mergeAllPar[A, B](in: Iterable[Task[A]])(zero: B)(f: (B, A) => B): Task[B]

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

    See also

    See zio.ZIO.never

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

    See also

    See zio.ZIO.none

  106. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  107. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  108. def partition[A, B](in: Iterable[A])(f: (A) => Task[B]): Task[(List[Throwable], List[B])]

    See also

    See zio.ZIO.partition

  109. def partitionPar[A, B](in: Iterable[A])(f: (A) => Task[B]): Task[(List[Throwable], List[B])]

  110. def partitionParN[A, B](n: Int)(in: Iterable[A])(f: (A) => Task[B]): Task[(List[Throwable], List[B])]

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

    See also

    See zio.ZIO.raceAll

  112. def reduceAll[A](a: Task[A], as: Iterable[Task[A]])(f: (A, A) => A): Task[A]

    See also

    See zio.ZIO.reduceAll

  113. def reduceAllPar[A](a: Task[A], as: Iterable[Task[A]])(f: (A, A) => A): Task[A]

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

    See also

    See zio.ZIO.replicate

  115. def require[A](error: => Throwable): (Task[Option[A]]) => Task[A]

    See also

    See zio.ZIO.require

  116. def reserve[A, B](reservation: Task[Reservation[Any, Throwable, A]])(use: (A) => Task[B]): Task[B]

    See also

    See zio.ZIO.reserve

  117. def right[B](b: => B): Task[Either[Nothing, B]]

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

    See also

    See zio.ZIO.runtime

  119. def some[A](a: => A): Task[Option[A]]

    See also

    zio.ZIO.some

  120. def succeed[A](a: => A): UIO[A]

    See also

    See zio.ZIO.succeed

  121. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  122. def toString(): String
    Definition Classes
    AnyRef → Any
  123. def trace: UIO[ZTrace]

    See also

    See zio.ZIO.trace

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

    See also

    See zio.ZIO.traced

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

  126. def uninterruptibleMask[A](k: (InterruptStatusRestore) => Task[A]): Task[A]

  127. val unit: UIO[Unit]

    See also

    See zio.ZIO.unit

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

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

    See also

    See zio.ZIO.untraced

  130. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  131. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  132. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  133. def when(b: => Boolean)(task: => Task[Any]): Task[Unit]

    See also

    See zio.ZIO.when

  134. def whenCase[R, E, A](a: => A)(pf: PartialFunction[A, ZIO[R, E, Any]]): ZIO[R, E, Unit]

    See also

    See zio.ZIO.whenCase

  135. def whenCaseM[R, E, A](a: ZIO[R, E, A])(pf: PartialFunction[A, ZIO[R, E, Any]]): ZIO[R, E, Unit]

    See also

    See zio.ZIO.whenCaseM

  136. def whenM(b: Task[Boolean])(task: => Task[Any]): Task[Unit]

    See also

    See zio.ZIO.whenM

  137. val yieldNow: UIO[Unit]

    See also

    See zio.ZIO.yieldNow

Inherited from TaskPlatformSpecific

Inherited from AnyRef

Inherited from Any

Ungrouped