object Fiber
- Alphabetic
- By Inheritance
- Fiber
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
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
-
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
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
done[E, A](exit: ⇒ Exit[E, A]): Fiber[E, A]
A fiber that is done with the specified zio.Exit value.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
fail[E](e: E): Fiber[E, Nothing]
A fiber that has already failed with the specified value.
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
fromEffect[E, A](io: IO[E, A]): UIO[Fiber[E, A]]
Lifts an zio.IO into a
Fiber
. -
final
def
fromFuture[A](thunk: ⇒ Future[A]): Fiber[Throwable, A]
Returns a
Fiber
that is backed by the specifiedFuture
. -
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
interrupt: Fiber[Nothing, Nothing]
A fiber that is already interrupted.
-
final
def
interruptAll(fs: Iterable[Fiber[_, _]]): UIO[Unit]
Interrupts all fibers, awaiting their interruption.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
joinAll(fs: Iterable[Fiber[_, _]]): UIO[Unit]
Joins all fibers, awaiting their completion.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
val
never: Fiber[Nothing, Nothing]
A fiber that never fails or succeeds.
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
succeed[E, A](a: A): Fiber[E, A]
Returns a fiber that has already succeeded with the specified value.
-
final
def
succeedLazy[E, A](a: ⇒ A): Fiber[E, A]
Returns a fiber that is already succeeded with the specified lazily evaluated value.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
val
unit: Fiber[Nothing, Unit]
A fiber that has already succeeded with unit.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )