Packages

object Fiber

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

Type Members

  1. final case class Descriptor(id: FiberId, interrupted: Boolean, interruptStatus: InterruptStatus, superviseStatus: SuperviseStatus, executor: Executor, children: UIO[IndexedSeq[Fiber[_, _]]]) extends Product with Serializable

    A record containing information about a Fiber.

    A record containing information about a Fiber.

    id

    The fiber's unique identifier

    interrupted

    Indicates if this fiber was interrupted

    executor

    The zio.internal.Executor executing this fiber

    children

    The fiber's forked children. This will only be populated if the fiber is supervised (via ZIO#supervised).

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def done[E, A](exit: ⇒ Exit[E, A]): Fiber[E, A]

    A fiber that is done with the specified zio.Exit value.

    A fiber that is done with the specified zio.Exit value.

    E

    error type

    A

    type of the fiber

    exit

    zio.Exit value

    returns

    Fiber[E, A]

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def fail[E](e: E): Fiber[E, Nothing]

    A fiber that has already failed with the specified value.

    A fiber that has already failed with the specified value.

    E

    error type

    e

    failure value

    returns

    Fiber[E, Nothing] failed fiber

  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def fromEffect[E, A](io: IO[E, A]): UIO[Fiber[E, A]]

    Lifts an zio.IO into a Fiber.

    Lifts an zio.IO into a Fiber.

    E

    error type

    A

    type of the fiber

    io

    IO[E, A] to turn into a Fiber

    returns

    UIO[Fiber[E, A]]

  12. final def fromFuture[A](thunk: ⇒ Future[A]): Fiber[Throwable, A]

    Returns a Fiber that is backed by the specified Future.

    Returns a Fiber that is backed by the specified Future.

    A

    type of the Fiber

    thunk

    Future[A] backing the Fiber

    returns

    Fiber[Throwable, A]

  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def interrupt: Fiber[Nothing, Nothing]

    A fiber that is already interrupted.

    A fiber that is already interrupted.

    returns

    Fiber[Nothing, Nothing] interrupted fiber

  16. final def interruptAll(fs: Iterable[Fiber[_, _]]): UIO[Unit]

    Interrupts all fibers, awaiting their interruption.

    Interrupts all fibers, awaiting their interruption.

    fs

    Iterable of fibers to be interrupted

    returns

    UIO[Unit]

  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def joinAll(fs: Iterable[Fiber[_, _]]): UIO[Unit]

    Joins all fibers, awaiting their completion.

    Joins all fibers, awaiting their completion.

    fs

    Iterable of fibers to be joined

    returns

    UIO[Unit]

  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final val never: Fiber[Nothing, Nothing]

    A fiber that never fails or succeeds.

  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def succeed[E, A](a: A): Fiber[E, A]

    Returns a fiber that has already succeeded with the specified value.

    Returns a fiber that has already succeeded with the specified value.

    E

    error type

    A

    type of the fiber

    a

    success value

    returns

    Fiber[E, A] succeeded fiber

  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final val unit: Fiber[Nothing, Unit]

    A fiber that has already succeeded with unit.

  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Deprecated Value Members

  1. final def succeedLazy[E, A](a: ⇒ A): Fiber[E, A]
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use succeed

Inherited from AnyRef

Inherited from Any

Ungrouped