Object

zio

Task

Related Doc: package zio

Permalink

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

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

    Permalink

    See also

    See zio.ZIO.absolve

  5. def acquireReleaseExitWith[A, B](acquire: ⇒ Task[A], release: (A, Exit[Throwable, B]) ⇒ UIO[Any], use: (A) ⇒ Task[B])(implicit trace: ZTraceElement): Task[B]

    Permalink

    See also

    See acquireReleaseExitWith zio.ZIO

  6. def acquireReleaseExitWith[A](acquire: ⇒ Task[A]): AcquireExit[Any, Throwable, A]

    Permalink

    See also

    See acquireReleaseExitWith zio.ZIO

  7. def acquireReleaseWith[A, B](acquire: ⇒ Task[A], release: (A) ⇒ UIO[Any], use: (A) ⇒ Task[B])(implicit trace: ZTraceElement): Task[B]

    Permalink

    See also

    See acquireReleaseWith zio.ZIO

  8. def acquireReleaseWith[A](acquire: ⇒ Task[A]): Acquire[Any, Throwable, A]

    Permalink

    See also

    See acquireReleaseWith zio.ZIO

  9. def allowInterrupt(implicit trace: ZTraceElement): UIO[Unit]

    Permalink

  10. def apply[A](a: ⇒ A)(implicit trace: ZTraceElement): Task[A]

    Permalink

    See also

    See zio.ZIO.apply

  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def async[A](register: ((Task[A]) ⇒ Unit) ⇒ Any, blockingOn: ⇒ FiberId = FiberId.None)(implicit trace: ZTraceElement): Task[A]

    Permalink

    See also

    See zio.ZIO.async

  13. def asyncInterrupt[A](register: ((Task[A]) ⇒ Unit) ⇒ Either[Canceler[Any], Task[A]], blockingOn: ⇒ FiberId = FiberId.None)(implicit trace: ZTraceElement): Task[A]

    Permalink

  14. def asyncMaybe[A](register: ((Task[A]) ⇒ Unit) ⇒ Option[Task[A]], blockingOn: ⇒ FiberId = FiberId.None)(implicit trace: ZTraceElement): Task[A]

    Permalink

    See also

    See zio.ZIO.asyncMaybe

  15. def asyncWithCompletionHandler[T](op: (CompletionHandler[T, Any]) ⇒ Any)(implicit trace: ZTraceElement): Task[T]

    Permalink
    Definition Classes
    TaskPlatformSpecific
  16. def asyncZIO[A](register: ((Task[A]) ⇒ Unit) ⇒ Task[Any])(implicit trace: ZTraceElement): Task[A]

    Permalink

    See also

    See zio.ZIO.asyncZIO

  17. def attempt[A](effect: ⇒ A)(implicit trace: ZTraceElement): Task[A]

    Permalink

    See also

    See zio.ZIO.attempt

  18. def attemptBlocking[A](effect: ⇒ A)(implicit trace: ZTraceElement): Task[A]

    Permalink

  19. def attemptBlockingCancelable[A](effect: ⇒ A)(cancel: ⇒ UIO[Any])(implicit trace: ZTraceElement): Task[A]

    Permalink

  20. def attemptBlockingInterrupt[A](effect: ⇒ A)(implicit trace: ZTraceElement): Task[A]

    Permalink

  21. def blocking[A](zio: ⇒ Task[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

    See also

    See zio.ZIO.blocking

  22. def blockingExecutor(implicit trace: ZTraceElement): UIO[Executor]

    Permalink

  23. def checkInterruptible[A](f: (InterruptStatus) ⇒ Task[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

  24. def checkTraced[A](f: (TracingStatus) ⇒ Task[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

    See also

    See zio.ZIO.checkTraced

  25. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def collect[Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ IO[Option[Throwable], (Key2, Value2)])(implicit trace: ZTraceElement): Task[Map[Key2, Value2]]

    Permalink

  27. 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]], trace: ZTraceElement): Task[Collection[B]]

    Permalink

  28. def collectAll[A](in: NonEmptyChunk[Task[A]])(implicit trace: ZTraceElement): Task[NonEmptyChunk[A]]

    Permalink

  29. def collectAll[A](in: Option[Task[A]])(implicit trace: ZTraceElement): Task[Option[A]]

    Permalink

  30. def collectAll[A](in: Array[Task[A]])(implicit arg0: ClassTag[A], trace: ZTraceElement): Task[Array[A]]

    Permalink

  31. def collectAll[A](in: Set[Task[A]])(implicit trace: ZTraceElement): Task[Set[A]]

    Permalink

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

    Permalink

  33. def collectAllDiscard[A](in: ⇒ Iterable[Task[A]])(implicit trace: ZTraceElement): Task[Unit]

    Permalink

  34. def collectAllPar[A](as: NonEmptyChunk[Task[A]])(implicit trace: ZTraceElement): Task[NonEmptyChunk[A]]

    Permalink

  35. def collectAllPar[A](as: Array[Task[A]])(implicit arg0: ClassTag[A], trace: ZTraceElement): Task[Array[A]]

    Permalink

  36. def collectAllPar[A](as: Set[Task[A]])(implicit trace: ZTraceElement): Task[Set[A]]

    Permalink

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

    Permalink

  38. def collectAllParDiscard[A](in: ⇒ Iterable[Task[A]])(implicit trace: ZTraceElement): Task[Unit]

    Permalink

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

    Permalink

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

    Permalink

  41. 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]], trace: ZTraceElement): Task[Collection[B]]

    Permalink

  42. 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]], trace: ZTraceElement): Task[Collection[B]]

    Permalink

  43. def collectFirst[A, B](as: ⇒ Iterable[A])(f: (A) ⇒ Task[Option[B]])(implicit trace: ZTraceElement): Task[Option[B]]

    Permalink

  44. def collectPar[Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ IO[Option[Throwable], (Key2, Value2)])(implicit trace: ZTraceElement): Task[Map[Key2, Value2]]

    Permalink

  45. 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]], trace: ZTraceElement): Task[Collection[B]]

    Permalink

  46. def cond[A](predicate: ⇒ Boolean, result: ⇒ A, error: ⇒ Throwable)(implicit trace: ZTraceElement): Task[A]

    Permalink

    See also

    See zio.ZIO.cond

  47. def debug(value: ⇒ Any)(implicit trace: ZTraceElement): UIO[Unit]

    Permalink

    See also

    See zio.ZIO.debug

  48. def descriptor(implicit trace: ZTraceElement): UIO[Descriptor]

    Permalink

    See also

    See zio.ZIO.descriptor

  49. def descriptorWith[A](f: (Descriptor) ⇒ Task[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

  50. def die(t: ⇒ Throwable)(implicit trace: ZTraceElement): UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.die

  51. def dieMessage(message: ⇒ String)(implicit trace: ZTraceElement): UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.dieMessage

  52. def done[A](r: ⇒ Exit[Throwable, A])(implicit trace: ZTraceElement): Task[A]

    Permalink

    See also

    See zio.ZIO.done

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  55. def executor(implicit trace: ZTraceElement): UIO[Executor]

    Permalink

    See also

    See zio.ZIO.executor

  56. def exists[A](as: ⇒ Iterable[A])(f: (A) ⇒ Task[Boolean])(implicit trace: ZTraceElement): Task[Boolean]

    Permalink

    See also

    See zio.ZIO.exists

  57. def fail(error: ⇒ Throwable)(implicit trace: ZTraceElement): Task[Nothing]

    Permalink

    See also

    See zio.ZIO.fail

  58. def failCause(cause: ⇒ Cause[Throwable])(implicit trace: ZTraceElement): Task[Nothing]

    Permalink

    See also

    See zio.ZIO.failCause

  59. def failCauseWith[E <: Throwable](function: (() ⇒ ZTrace) ⇒ Cause[E])(implicit trace: ZTraceElement): Task[Nothing]

    Permalink

  60. def fiberId(implicit trace: ZTraceElement): UIO[FiberId]

    Permalink

  61. def filter[A](as: Set[A])(f: (A) ⇒ Task[Boolean])(implicit trace: ZTraceElement): Task[Set[A]]

    Permalink

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

    Permalink

  63. def filterNot[A](as: Set[A])(f: (A) ⇒ Task[Boolean])(implicit trace: ZTraceElement): Task[Set[A]]

    Permalink

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

    Permalink

  65. def filterNotPar[A](as: Set[A])(f: (A) ⇒ Task[Boolean])(implicit trace: ZTraceElement): Task[Set[A]]

    Permalink

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

    Permalink

  67. def filterPar[A](as: Set[A])(f: (A) ⇒ Task[Boolean])(implicit trace: ZTraceElement): Task[Set[A]]

    Permalink

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

    Permalink

  69. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  70. def firstSuccessOf[A](task: ⇒ Task[A], rest: ⇒ Iterable[Task[A]])(implicit trace: ZTraceElement): Task[A]

    Permalink

  71. def flatten[A](task: ⇒ Task[Task[A]])(implicit trace: ZTraceElement): Task[A]

    Permalink

    See also

    See zio.ZIO.flatten

  72. def foldLeft[S, A](in: ⇒ Iterable[A])(zero: ⇒ S)(f: (S, A) ⇒ Task[S])(implicit trace: ZTraceElement): Task[S]

    Permalink

    See also

    See zio.ZIO.foldLeft

  73. def foldRight[S, A](in: ⇒ Iterable[A])(zero: ⇒ S)(f: (A, S) ⇒ Task[S])(implicit trace: ZTraceElement): Task[S]

    Permalink

    See also

    See zio.ZIO.foldRight

  74. def forall[A](as: ⇒ Iterable[A])(f: (A) ⇒ Task[Boolean])(implicit trace: ZTraceElement): Task[Boolean]

    Permalink

    See also

    See zio.ZIO.forall

  75. def foreach[A, B](in: NonEmptyChunk[A])(f: (A) ⇒ Task[B])(implicit trace: ZTraceElement): Task[NonEmptyChunk[B]]

    Permalink

  76. def foreach[A, B](in: Option[A])(f: (A) ⇒ Task[B])(implicit trace: ZTraceElement): Task[Option[B]]

    Permalink

  77. def foreach[Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ Task[(Key2, Value2)])(implicit trace: ZTraceElement): Task[Map[Key2, Value2]]

    Permalink

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

    Permalink

  79. def foreach[A, B](in: Set[A])(f: (A) ⇒ Task[B])(implicit trace: ZTraceElement): Task[Set[B]]

    Permalink

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

    Permalink

  81. def foreachDiscard[A](as: ⇒ Iterable[A])(f: (A) ⇒ Task[Any])(implicit trace: ZTraceElement): Task[Unit]

    Permalink

  82. 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]], trace: ZTraceElement): Task[Collection[B]]

    Permalink

    See also

    See zio.ZIO.foreachExec

  83. def foreachPar[A, B](as: NonEmptyChunk[A])(fn: (A) ⇒ Task[B])(implicit trace: ZTraceElement): Task[NonEmptyChunk[B]]

    Permalink

  84. def foreachPar[Key, Key2, Value, Value2](map: Map[Key, Value])(f: (Key, Value) ⇒ Task[(Key2, Value2)])(implicit trace: ZTraceElement): Task[Map[Key2, Value2]]

    Permalink

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

    Permalink

  86. def foreachPar[A, B](as: Set[A])(fn: (A) ⇒ Task[B])(implicit trace: ZTraceElement): Task[Set[B]]

    Permalink

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

    Permalink

  88. def foreachParDiscard[A, B](as: ⇒ Iterable[A])(f: (A) ⇒ Task[Any])(implicit trace: ZTraceElement): Task[Unit]

    Permalink

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

    Permalink

    See also

    See zio.ZIO.forkAll

  90. def forkAllDiscard[A](as: ⇒ Iterable[Task[A]])(implicit trace: ZTraceElement): UIO[Unit]

    Permalink

  91. def from[Input](input: ⇒ Input)(implicit constructor: ZIOConstructor[Any, Throwable, Input], trace: ZTraceElement): ZIO[OutEnvironment, OutError, OutSuccess]

    Permalink

    Constructs a Task value of the appropriate type for the specified input.

  92. def fromCompletableFuture[A](cs: ⇒ CompletableFuture[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

    Alias for formCompletionStage for a concrete implementation of CompletionStage

    Alias for formCompletionStage for a concrete implementation of CompletionStage

    Definition Classes
    TaskPlatformSpecific
  93. def fromCompletionStage[A](cs: ⇒ CompletionStage[A])(implicit trace: ZTraceElement): Task[A]

    Permalink
    Definition Classes
    TaskPlatformSpecific
  94. def fromEither[A](v: ⇒ Either[Throwable, A])(implicit trace: ZTraceElement): Task[A]

    Permalink

    See also

    See zio.ZIO.fromEither

  95. def fromFiber[A](fiber: ⇒ Fiber[Throwable, A])(implicit trace: ZTraceElement): Task[A]

    Permalink

    See also

    See zio.ZIO.fromFiber

  96. def fromFiberZIO[A](fiber: ⇒ Task[Fiber[Throwable, A]])(implicit trace: ZTraceElement): Task[A]

    Permalink

  97. def fromFuture[A](make: (ExecutionContext) ⇒ Future[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

    See also

    See zio.ZIO.fromFuture

  98. def fromFutureInterrupt[A](make: (ExecutionContext) ⇒ Future[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

  99. def fromTry[A](value: ⇒ Try[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

    See also

    See zio.ZIO.fromTry

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

    Permalink
    Definition Classes
    AnyRef → Any
  101. final def getOrFail[A](v: ⇒ Option[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

    See also

    See zio.ZIO.getOrFail

  102. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  103. def ifZIO(b: ⇒ Task[Boolean]): IfZIO[Any, Throwable]

    Permalink

    See also

    zio.ZIO.ifZIO

  104. def interrupt(implicit trace: ZTraceElement): UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.interrupt

  105. def interruptAs(fiberId: ⇒ FiberId)(implicit trace: ZTraceElement): UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.interruptAs

  106. def interruptible[A](task: ⇒ Task[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

  107. def interruptibleMask[A](k: (InterruptStatusRestore) ⇒ Task[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

  108. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  109. def iterate[S](initial: ⇒ S)(cont: (S) ⇒ Boolean)(body: (S) ⇒ Task[S])(implicit trace: ZTraceElement): Task[S]

    Permalink

    See also

    See zio.ZIO.iterate

  110. def left[A](a: ⇒ A)(implicit trace: ZTraceElement): Task[Either[A, Nothing]]

    Permalink

    See also

    See zio.ZIO.left

  111. def loop[A, S](initial: ⇒ S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ Task[A])(implicit trace: ZTraceElement): Task[List[A]]

    Permalink

    See also

    See zio.ZIO.loop

  112. def loopDiscard[S](initial: ⇒ S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ Task[Any])(implicit trace: ZTraceElement): Task[Unit]

    Permalink

    See also

    See zio.ZIO.loopDiscard

  113. def memoize[A, B](f: (A) ⇒ Task[B])(implicit trace: ZTraceElement): UIO[(A) ⇒ Task[B]]

    Permalink

    See also

    See zio.ZIO.memoize

  114. def mergeAll[A, B](in: Iterable[Task[A]])(zero: ⇒ B)(f: (B, A) ⇒ B)(implicit trace: ZTraceElement): Task[B]

    Permalink

    See also

    See zio.ZIO.mergeAll

  115. def mergeAllPar[A, B](in: ⇒ Iterable[Task[A]])(zero: ⇒ B)(f: (B, A) ⇒ B)(implicit trace: ZTraceElement): Task[B]

    Permalink

    See also

    See zio.ZIO.mergeAllPar

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

    Permalink
    Definition Classes
    AnyRef
  117. def never(implicit trace: ZTraceElement): UIO[Nothing]

    Permalink

    See also

    See zio.ZIO.never

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

    Permalink

    See also

    See zio.ZIO.none

  119. def noneOrFail(o: ⇒ Option[Throwable])(implicit trace: ZTraceElement): Task[Unit]

    Permalink

    See also

    See zio.ZIO.noneOrFail

  120. def noneOrFailWith[O](o: ⇒ Option[O])(f: (O) ⇒ Throwable)(implicit trace: ZTraceElement): Task[Unit]

    Permalink

  121. def not(effect: ⇒ Task[Boolean])(implicit trace: ZTraceElement): Task[Boolean]

    Permalink

    See also

    See zio.ZIO.not

  122. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  124. def onExecutor[A](executor: ⇒ Executor)(task: Task[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

    See also

    See zio.ZIO.onExecutor

  125. def partition[A, B](in: ⇒ Iterable[A])(f: (A) ⇒ Task[B])(implicit trace: ZTraceElement): Task[(Iterable[Throwable], Iterable[B])]

    Permalink

    See also

    See zio.ZIO.partition

  126. def partitionPar[A, B](in: ⇒ Iterable[A])(f: (A) ⇒ Task[B])(implicit trace: ZTraceElement): Task[(Iterable[Throwable], Iterable[B])]

    Permalink

  127. def raceAll[A](task: ⇒ Task[A], ios: ⇒ Iterable[Task[A]])(implicit trace: ZTraceElement): Task[A]

    Permalink

    See also

    See zio.ZIO.raceAll

  128. def reduceAll[A](a: ⇒ Task[A], as: ⇒ Iterable[Task[A]])(f: (A, A) ⇒ A)(implicit trace: ZTraceElement): Task[A]

    Permalink

    See also

    See zio.ZIO.reduceAll

  129. def reduceAllPar[A](a: ⇒ Task[A], as: ⇒ Iterable[Task[A]])(f: (A, A) ⇒ A)(implicit trace: ZTraceElement): Task[A]

    Permalink

  130. def replicate[A](n: ⇒ Int)(effect: ⇒ Task[A])(implicit trace: ZTraceElement): Iterable[Task[A]]

    Permalink

    See also

    See zio.ZIO.replicate

  131. def replicateZIO[A](n: ⇒ Int)(effect: ⇒ Task[A])(implicit trace: ZTraceElement): Task[Iterable[A]]

    Permalink

  132. def replicateZIODiscard[A](n: ⇒ Int)(effect: ⇒ Task[A])(implicit trace: ZTraceElement): Task[Unit]

    Permalink

  133. def reserve[A, B](reservation: ⇒ Task[Reservation[Any, Throwable, A]])(use: (A) ⇒ Task[B])(implicit trace: ZTraceElement): Task[B]

    Permalink

    See also

    See zio.ZIO.reserve

  134. def right[B](b: ⇒ B)(implicit trace: ZTraceElement): Task[Either[Nothing, B]]

    Permalink

    See also

    zio.ZIO.right

  135. def runtime(implicit trace: ZTraceElement): UIO[Runtime[Any]]

    Permalink

    See also

    See zio.ZIO.runtime

  136. def runtimeConfig(implicit trace: ZTraceElement): UIO[RuntimeConfig]

    Permalink

  137. def some[A](a: ⇒ A)(implicit trace: ZTraceElement): Task[Option[A]]

    Permalink

    See also

    zio.ZIO.some

  138. def succeed[A](a: ⇒ A)(implicit trace: ZTraceElement): UIO[A]

    Permalink

    See also

    See zio.ZIO.succeed

  139. def succeedBlocking[A](a: ⇒ A)(implicit trace: ZTraceElement): UIO[A]

    Permalink

  140. def suspend[A](task: ⇒ Task[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

    See also

    See zio.ZIO.suspend

  141. def suspendSucceed[A](task: ⇒ Task[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

  142. def suspendSucceedWith[A](f: (RuntimeConfig, FiberId) ⇒ Task[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

  143. def suspendWith[A](f: (RuntimeConfig, FiberId) ⇒ Task[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

    See also

    See zio.RIO.suspendWith

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  146. def trace(implicit trace: ZTraceElement): UIO[ZTrace]

    Permalink

    See also

    See zio.ZIO.trace

  147. def traced[A](task: ⇒ Task[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

    See also

    See zio.ZIO.traced

  148. def uninterruptible[A](task: ⇒ Task[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

  149. def uninterruptibleMask[A](k: (InterruptStatusRestore) ⇒ Task[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

  150. val unit: UIO[Unit]

    Permalink

    See also

    See zio.ZIO.unit

  151. def unless[A](b: ⇒ Boolean)(zio: ⇒ Task[A])(implicit trace: ZTraceElement): Task[Option[A]]

    Permalink

    See also

    See zio.ZIO.unless

  152. def unlessZIO(b: ⇒ Task[Boolean]): UnlessZIO[Any, Throwable]

    Permalink

    See also

    See zio.ZIO.unlessZIO

  153. def unsandbox[A](v: ⇒ IO[Cause[Throwable], A])(implicit trace: ZTraceElement): Task[A]

    Permalink

  154. def untraced[A](task: ⇒ Task[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

    See also

    See zio.ZIO.untraced

  155. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  158. def when[A](b: ⇒ Boolean)(task: ⇒ Task[A])(implicit trace: ZTraceElement): Task[Option[A]]

    Permalink

    See also

    See zio.ZIO.when

  159. def whenCase[A, B](a: ⇒ A)(pf: PartialFunction[A, Task[B]])(implicit trace: ZTraceElement): Task[Option[B]]

    Permalink

    See also

    See zio.ZIO.whenCase

  160. def whenCaseZIO[A, B](a: ⇒ Task[A])(pf: PartialFunction[A, Task[B]])(implicit trace: ZTraceElement): Task[Option[B]]

    Permalink

    See also

    See zio.ZIO.whenCaseZIO

  161. def whenZIO(b: ⇒ Task[Boolean]): WhenZIO[Any, Throwable]

    Permalink

    See also

    See zio.ZIO.whenZIO

  162. def withRuntimeConfig[A](runtimeConfig: ⇒ RuntimeConfig)(task: ⇒ Task[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

  163. def yieldNow(implicit trace: ZTraceElement): UIO[Unit]

    Permalink

    See also

    See zio.ZIO.yieldNow

Deprecated Value Members

  1. def bracket[A, B](acquire: ⇒ Task[A], release: (A) ⇒ UIO[Any], use: (A) ⇒ Task[B])(implicit trace: ZTraceElement): Task[B]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseWith

    See also

    See bracket zio.ZIO

  2. def bracket[A](acquire: ⇒ Task[A]): Acquire[Any, Throwable, A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseWith

    See also

    See bracket zio.ZIO

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseExitWith

    See also

    See bracketExit zio.ZIO

  4. def bracketExit[A](acquire: ⇒ Task[A]): AcquireExit[Any, Throwable, A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseExitWith

    See also

    See bracketExit zio.ZIO

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllPar

    See also

    See zio.ZIO.collectAllParN

  6. def collectAllParNDiscard[A](n: ⇒ Int)(as: ⇒ Iterable[Task[A]])(implicit trace: ZTraceElement): Task[Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllParDiscard

    See also

    See zio.ZIO.collectAllParNDiscard

  7. def collectAllParN_[A](n: ⇒ Int)(as: ⇒ Iterable[Task[A]])(implicit trace: ZTraceElement): Task[Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllParDiscard

    See also

    See zio.ZIO.collectAllParN_

  8. def collectAllPar_[A](in: ⇒ Iterable[Task[A]])(implicit trace: ZTraceElement): Task[Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllParDiscard

    See also

    See zio.ZIO.collectAllPar_

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllSuccessesPar

    See also

    See zio.ZIO.collectAllSuccessesParN

  10. 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]], trace: ZTraceElement): Task[Collection[B]]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllWithPar

    See also

    See zio.ZIO.collectAllWithParN

  11. def collectAll_[A](in: ⇒ Iterable[Task[A]])(implicit trace: ZTraceElement): Task[Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectAllDiscard

    See also

    See zio.ZIO.collectAll_

  12. 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]], trace: ZTraceElement): Task[Collection[B]]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use collectPar

    See also

    See zio.ZIO.collectParN

  13. def effect[A](effect: ⇒ A)(implicit trace: ZTraceElement): Task[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use attempt

    See also

    See zio.ZIO.effect

  14. def effectAsync[A](register: ((Task[A]) ⇒ Unit) ⇒ Any, blockingOn: ⇒ FiberId = FiberId.None)(implicit trace: ZTraceElement): Task[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use async

    See also

    See zio.ZIO.effectAsync

  15. def effectAsyncInterrupt[A](register: ((Task[A]) ⇒ Unit) ⇒ Either[Canceler[Any], Task[A]], blockingOn: ⇒ FiberId = FiberId.None)(implicit trace: ZTraceElement): Task[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use asyncInterrupt

    See also

    See zio.ZIO.effectAsyncInterrupt

  16. def effectAsyncM[A](register: ((Task[A]) ⇒ Unit) ⇒ Task[Any])(implicit trace: ZTraceElement): Task[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use asyncZIO

    See also

    See zio.ZIO.effectAsyncM

  17. def effectAsyncMaybe[A](register: ((Task[A]) ⇒ Unit) ⇒ Option[Task[A]], blockingOn: ⇒ FiberId = FiberId.None)(implicit trace: ZTraceElement): Task[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use asyncMaybe

    See also

    See zio.ZIO.effectAsyncMaybe

  18. def effectAsyncWithCompletionHandler[T](op: (CompletionHandler[T, Any]) ⇒ Any)(implicit trace: ZTraceElement): Task[T]

    Permalink
    Definition Classes
    TaskPlatformSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use asyncWithCompletionHandler

  19. def effectBlocking[A](effect: ⇒ A)(implicit trace: ZTraceElement): Task[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use attemptBlocking

    See also

    See zio.ZIO.effectBlocking

  20. def effectBlockingCancelable[A](effect: ⇒ A)(cancel: ⇒ UIO[Any])(implicit trace: ZTraceElement): Task[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use attemptBlockingCancelable

    See also

    See zio.ZIO.effectBlockingCancelable

  21. def effectBlockingInterrupt[A](effect: ⇒ A)(implicit trace: ZTraceElement): Task[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use attemptBlockingInterrupt

    See also

    See zio.ZIO.effectBlockingInterrupt

  22. def effectSuspend[A](task: ⇒ Task[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use suspend

    See also

    See zio.RIO.effectSuspend

  23. def effectSuspendTotal[A](task: ⇒ Task[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use suspendSucceed

    See also

    See zio.ZIO.effectSuspendTotal

  24. def effectSuspendTotalWith[A](p: (Platform, Id) ⇒ Task[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use suspendSucceedWith

    See also

    See zio.ZIO.effectSuspendTotalWith

  25. def effectSuspendWith[A](p: (Platform, Id) ⇒ Task[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use suspendWith

    See also

    See zio.RIO.effectSuspendWith

  26. def effectTotal[A](effect: ⇒ A)(implicit trace: ZTraceElement): UIO[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use succeed

    See also

    See zio.ZIO.effectTotal

  27. 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]], trace: ZTraceElement): Task[Collection[B]]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachPar

    See also

    See zio.ZIO.foreachParN

  28. def foreachParNDiscard[A, B](n: ⇒ Int)(as: ⇒ Iterable[A])(f: (A) ⇒ Task[Any])(implicit trace: ZTraceElement): Task[Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachParDiscard

    See also

    See zio.ZIO.foreachParNDiscard

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

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachParDiscard

    See also

    See zio.ZIO.foreachParN_

  30. def foreachPar_[A, B](as: ⇒ Iterable[A])(f: (A) ⇒ Task[Any])(implicit trace: ZTraceElement): Task[Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachParDiscard

    See also

    See zio.ZIO.foreachPar_

  31. def foreach_[A](as: ⇒ Iterable[A])(f: (A) ⇒ Task[Any])(implicit trace: ZTraceElement): Task[Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use foreachDiscard

    See also

    See zio.ZIO.foreach_

  32. def forkAll_[A](as: ⇒ Iterable[Task[A]])(implicit trace: ZTraceElement): UIO[Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use forkAllDiscard

    See also

    See zio.ZIO.forkAll_

  33. def fromFiberM[A](fiber: ⇒ Task[Fiber[Throwable, A]])(implicit trace: ZTraceElement): Task[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use fromFiberZIO

    See also

    See zio.ZIO.fromFiberM

  34. def halt(cause: ⇒ Cause[Throwable])(implicit trace: ZTraceElement): Task[Nothing]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use failCause

    See also

    See zio.ZIO.halt

  35. def haltWith[E <: Throwable](function: (() ⇒ ZTrace) ⇒ Cause[E])(implicit trace: ZTraceElement): Task[Nothing]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use failCauseWith

    See also

    See zio.ZIO.haltWith

  36. def ifM(b: ⇒ Task[Boolean]): IfZIO[Any, Throwable]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use ifZIO

    See also

    zio.ZIO.ifM

  37. def lock[A](executor: ⇒ Executor)(task: ⇒ Task[A])(implicit trace: ZTraceElement): Task[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use onExecutor

    See also

    See zio.ZIO.lock

  38. def loop_[S](initial: ⇒ S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ Task[Any])(implicit trace: ZTraceElement): Task[Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use loopDiscard

    See also

    See zio.ZIO.loop_

  39. 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)(implicit trace: ZTraceElement): Task[F]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zip

    See also

    zio.ZIO.mapN[R,E,A,B,C,D,F]*

  40. def mapN[A, B, C, D](task1: ⇒ Task[A], task2: ⇒ Task[B], task3: ⇒ Task[C])(f: (A, B, C) ⇒ D)(implicit trace: ZTraceElement): Task[D]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zip

    See also

    zio.ZIO.mapN[R,E,A,B,C,D]*

  41. def mapN[A, B, C](task1: ⇒ Task[A], task2: ⇒ Task[B])(f: (A, B) ⇒ C)(implicit trace: ZTraceElement): Task[C]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zip

    See also

    zio.ZIO.mapN[R,E,A,B,C]*

  42. 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)(implicit trace: ZTraceElement): Task[F]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zipPar

    See also

    zio.ZIO.mapParN[R,E,A,B,C,D,F]*

  43. def mapParN[A, B, C, D](task1: ⇒ Task[A], task2: ⇒ Task[B], task3: ⇒ Task[C])(f: (A, B, C) ⇒ D)(implicit trace: ZTraceElement): Task[D]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zipPar

    See also

    zio.ZIO.mapParN[R,E,A,B,C,D]*

  44. def mapParN[A, B, C](task1: ⇒ Task[A], task2: ⇒ Task[B])(f: (A, B) ⇒ C)(implicit trace: ZTraceElement): Task[C]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zipPar

    See also

    zio.ZIO.mapParN[R,E,A,B,C]*

  45. def partitionParN[A, B](n: ⇒ Int)(in: ⇒ Iterable[A])(f: (A) ⇒ Task[B])(implicit trace: ZTraceElement): Task[(Iterable[Throwable], Iterable[B])]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use partitionPar

    See also

    See zio.ZIO.partitionParN

  46. def replicateM[A](n: ⇒ Int)(effect: ⇒ Task[A])(implicit trace: ZTraceElement): Task[Iterable[A]]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use replicateZIO

    See also

    See zio.ZIO.replicateM

  47. def replicateM_[A](n: ⇒ Int)(effect: ⇒ Task[A])(implicit trace: ZTraceElement): Task[Unit]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use replicateZIODiscard

    See also

    See zio.ZIO.replicateM_

  48. def require[A](error: ⇒ Throwable)(implicit trace: ZTraceElement): (Task[Option[A]]) ⇒ Task[A]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use someOrFail

    See also

    See zio.ZIO.require

  49. def unlessM(b: ⇒ Task[Boolean]): UnlessZIO[Any, Throwable]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use unlessZIO

    See also

    See zio.ZIO.unlessM

  50. def whenCaseM[A, B](a: ⇒ Task[A])(pf: PartialFunction[A, Task[B]])(implicit trace: ZTraceElement): Task[Option[B]]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use whenCaseZIO

    See also

    See zio.ZIO.whenCaseM

  51. def whenM(b: ⇒ Task[Boolean]): WhenZIO[Any, Throwable]

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use whenZIO

    See also

    See zio.ZIO.whenM

Inherited from TaskPlatformSpecific

Inherited from AnyRef

Inherited from Any

Ungrouped