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.

  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.

  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.

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

    Returns a Fiber that is backed by the specified Future.

  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.

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

    Interrupts all fibers, awaiting their interruption.

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

    Joins all fibers, awaiting their completion.

  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.

  24. final def succeedLazy[E, A](a: ⇒ A): Fiber[E, A]

    Returns a fiber that is already succeeded with the specified lazily evaluated value.

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

    A fiber that has already succeeded with unit.

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

Inherited from AnyRef

Inherited from Any

Ungrouped