object Task
- Alphabetic
- By Inheritance
- Task
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def absolve[A](v: Task[Either[Throwable, A]]): Task[A]
- See also
See zio.ZIO.absolve
- final def allowInterrupt: UIO[Unit]
- See also
- final def apply[A](a: => A): Task[A]
- See also
See zio.ZIO.apply
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- final def bracket[A, B](acquire: Task[A], release: (A) => UIO[Any], use: (A) => Task[B]): Task[B]
- See also
See bracket zio.ZIO
- final def bracket[A](acquire: Task[A]): BracketAcquire[Any, Throwable, A]
- See also
See bracket zio.ZIO
- final 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
- final def bracketExit[A](acquire: Task[A]): BracketExitAcquire[Any, Throwable, A]
- See also
See bracketExit zio.ZIO
- final def checkDaemon[A](f: (DaemonStatus) => Task[A]): Task[A]
- See also
- final def checkInterruptible[A](f: (InterruptStatus) => Task[A]): Task[A]
- See also
- final def checkTraced[A](f: (TracingStatus) => Task[A]): Task[A]
- See also
- final def children: UIO[Iterable[Fiber[Any, Any]]]
- See also
See zio.ZIO.children
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def collectAll[A](in: Iterable[Task[A]]): Task[List[A]]
- See also
- final def collectAllPar[A](as: Iterable[Task[A]]): Task[List[A]]
- See also
- final def collectAllParN[A](n: Int)(as: Iterable[Task[A]]): Task[List[A]]
- See also
- final def collectAllSuccesses[A](in: Iterable[Task[A]]): Task[List[A]]
- See also
- final def collectAllSuccessesPar[A](as: Iterable[Task[A]]): Task[List[A]]
- See also
- final def collectAllSuccessesParN[A](n: Int)(as: Iterable[Task[A]]): Task[List[A]]
- See also
- final def collectAllWith[A, B](in: Iterable[Task[A]])(f: PartialFunction[A, B]): Task[List[B]]
- See also
- final def collectAllWithPar[A, B](as: Iterable[Task[A]])(f: PartialFunction[A, B]): Task[List[B]]
- See also
- final def collectAllWithParN[A, B](n: Int)(as: Iterable[Task[A]])(f: PartialFunction[A, B]): Task[List[B]]
- See also
- final def descriptor: UIO[Descriptor]
- See also
- final def descriptorWith[A](f: (Descriptor) => Task[A]): Task[A]
- See also
- final def die(t: Throwable): UIO[Nothing]
- See also
See zio.ZIO.die
- final def dieMessage(message: String): UIO[Nothing]
- See also
- final def done[A](r: Exit[Throwable, A]): Task[A]
- See also
See zio.ZIO.done
- final def effect[A](effect: => A): Task[A]
- See also
See zio.ZIO.effect
- final def effectAsync[A](register: ((Task[A]) => Unit) => Unit, blockingOn: List[Id] = Nil): Task[A]
- See also
- final def effectAsyncInterrupt[A](register: ((Task[A]) => Unit) => Either[Canceler[Any], Task[A]], blockingOn: List[Id] = Nil): Task[A]
- See also
- final def effectAsyncM[A](register: ((Task[A]) => Unit) => Task[Any]): Task[A]
- See also
- final def effectAsyncMaybe[A](register: ((Task[A]) => Unit) => Option[Task[A]], blockingOn: List[Id] = Nil): Task[A]
- See also
- final def effectSuspend[A](task: => Task[A]): Task[A]
- See also
- final def effectSuspendTotal[A](task: => Task[A]): Task[A]
- See also
- final def effectSuspendTotalWith[A](p: (Platform) => Task[A]): Task[A]
- See also
- final def effectSuspendWith[A](p: (Platform) => Task[A]): Task[A]
- See also
- final def effectTotal[A](effect: => A): UIO[A]
- See also
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def fail(error: Throwable): Task[Nothing]
- See also
See zio.ZIO.fail
- final val fiberId: UIO[Id]
- See also
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def firstSuccessOf[A](task: Task[A], rest: Iterable[Task[A]]): Task[A]
- See also
- final def flatten[A](task: Task[Task[A]]): Task[A]
- See also
See zio.ZIO.flatten
- final def foldLeft[S, A](in: Iterable[A])(zero: S)(f: (S, A) => Task[S]): Task[S]
- See also
See zio.ZIO.foldLeft
- final def foreach[A, B](in: Iterable[A])(f: (A) => Task[B]): Task[List[B]]
- See also
See zio.ZIO.foreach
- final def foreachPar[A, B](as: Iterable[A])(fn: (A) => Task[B]): Task[List[B]]
- See also
- final def foreachParN[A, B](n: Int)(as: Iterable[A])(fn: (A) => Task[B]): Task[List[B]]
- See also
- final def foreachParN_[A, B](n: Int)(as: Iterable[A])(f: (A) => Task[Any]): Task[Unit]
- See also
- final def foreachPar_[A, B](as: Iterable[A])(f: (A) => Task[Any]): Task[Unit]
- See also
- final def foreach_[A](as: Iterable[A])(f: (A) => Task[Any]): Task[Unit]
- See also
See zio.ZIO.foreach_
- final def forkAll[A](as: Iterable[Task[A]]): UIO[Fiber[Throwable, List[A]]]
- See also
See zio.ZIO.forkAll
- final def forkAll_[A](as: Iterable[Task[A]]): UIO[Unit]
- See also
See zio.ZIO.forkAll_
- final def fromEither[A](v: => Either[Throwable, A]): Task[A]
- See also
- final def fromFiber[A](fiber: => Fiber[Throwable, A]): Task[A]
- See also
- final def fromFiberM[A](fiber: Task[Fiber[Throwable, A]]): Task[A]
- See also
- final def fromFunction[A](f: (Any) => A): Task[A]
- See also
- final def fromFunctionFuture[A](f: (Any) => Future[A]): Task[A]
- See also
- final def fromFunctionM[A](f: (Any) => Task[A]): Task[A]
- See also
- final def fromFuture[A](make: (ExecutionContext) => Future[A]): Task[A]
- See also
- final def fromTry[A](value: => Try[A]): Task[A]
- See also
See zio.ZIO.fromTry
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def halt(cause: Cause[Throwable]): Task[Nothing]
- See also
See zio.ZIO.halt
- final def haltWith[E <: Throwable](function: (() => ZTrace) => Cause[E]): Task[Nothing]
- See also
See zio.ZIO.haltWith
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def identity: Task[Any]
- See also
- final val interrupt: UIO[Nothing]
- See also
- final def interruptAs(fiberId: Id): UIO[Nothing]
- See also
- final def interruptible[A](task: Task[A]): Task[A]
- See also
- final def interruptibleMask[A](k: (InterruptStatusRestore) => Task[A]): Task[A]
- See also
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def left[A](a: A): Task[Either[A, Nothing]]
- See also
See zio.ZIO.left
- final def lock[A](executor: Executor)(task: Task[A]): Task[A]
- See also
See zio.ZIO.lock
- final def mergeAll[A, B](in: Iterable[Task[A]])(zero: B)(f: (B, A) => B): Task[B]
- See also
See zio.ZIO.mergeAll
- final def mergeAllPar[A, B](in: Iterable[Task[A]])(zero: B)(f: (B, A) => B): Task[B]
- See also
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final val never: UIO[Nothing]
- See also
See zio.ZIO.never
- final val none: Task[Option[Nothing]]
- See also
See zio.ZIO.none
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def raceAll[A](task: Task[A], ios: Iterable[Task[A]]): Task[A]
- See also
See zio.ZIO.raceAll
- final def reduceAll[A](a: Task[A], as: Iterable[Task[A]])(f: (A, A) => A): Task[A]
- See also
- final def reduceAllPar[A](a: Task[A], as: Iterable[Task[A]])(f: (A, A) => A): Task[A]
- See also
- def replicate[A](n: Int)(effect: Task[A]): Iterable[Task[A]]
- See also
- final def require[A](error: Throwable): (Task[Option[A]]) => Task[A]
- See also
See zio.ZIO.require
- final def reserve[A, B](reservation: Task[Reservation[Any, Throwable, A]])(use: (A) => Task[B]): Task[B]
- See also
See zio.ZIO.reserve
- def right[B](b: B): Task[Either[Nothing, B]]
- See also
- final def runtime: UIO[Runtime[Any]]
- See also
See zio.ZIO.runtime
- final def sequence[A](in: Iterable[Task[A]]): Task[List[A]]
See zio.ZIO.sequence
- final def sequencePar[A](as: Iterable[Task[A]]): Task[List[A]]
- final def sequenceParN[A](n: Int)(as: Iterable[Task[A]]): Task[List[A]]
- def some[A](a: A): Task[Option[A]]
- See also
- final def succeed[A](a: A): UIO[A]
- See also
See zio.ZIO.succeed
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def trace: UIO[ZTrace]
- See also
See zio.ZIO.trace
- final def traced[A](task: Task[A]): Task[A]
- See also
See zio.ZIO.traced
- final def traverse[A, B](in: Iterable[A])(f: (A) => Task[B]): Task[List[B]]
- See also
See zio.ZIO.traverse
- final def traversePar[A, B](as: Iterable[A])(fn: (A) => Task[B]): Task[List[B]]
- See also
- final def traverseParN[A, B](n: Int)(as: Iterable[A])(fn: (A) => Task[B]): Task[List[B]]
Alias for ZIO.foreachParN
- final def traverseParN_[A](n: Int)(as: Iterable[A])(f: (A) => Task[Any]): Task[Unit]
- See also
- final def traversePar_[A](as: Iterable[A])(f: (A) => Task[Any]): Task[Unit]
- See also
- final def traverse_[A](as: Iterable[A])(f: (A) => Task[Any]): Task[Unit]
- See also
- final def uninterruptible[A](task: Task[A]): Task[A]
- See also
- final def uninterruptibleMask[A](k: (InterruptStatusRestore) => Task[A]): Task[A]
- See also
- final val unit: UIO[Unit]
- See also
See zio.ZIO.unit
- final def unsandbox[A](v: IO[Cause[Throwable], A]): Task[A]
- See also
- final def untraced[A](task: Task[A]): Task[A]
- See also
See zio.ZIO.untraced
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def when(b: Boolean)(task: Task[Any]): Task[Unit]
- See also
See zio.ZIO.when
- final def whenCase[R, E, A](a: A)(pf: PartialFunction[A, ZIO[R, E, Any]]): ZIO[R, E, Unit]
- See also
See zio.ZIO.whenCase
- final def whenCaseM[R, E, A](a: ZIO[R, E, A])(pf: PartialFunction[A, ZIO[R, E, Any]]): ZIO[R, E, Unit]
- See also
- final def whenM(b: Task[Boolean])(task: Task[Any]): Task[Unit]
- See also
See zio.ZIO.whenM
- final val yieldNow: UIO[Unit]
- See also
See zio.ZIO.yieldNow
Deprecated Value Members
- final def succeedLazy[A](a: => A): UIO[A]
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0) use effectTotal
- final def suspend[A](task: => Task[A]): Task[A]
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0) use effectSuspendTotal
- final def suspendWith[A](p: (Platform) => Task[A]): Task[A]
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0) use effectSuspendTotalWith