A record containing information about a Fiber.
A record containing information about a Fiber.
The fiber's unique identifier
Indicates if this fiber was interrupted
The zio.internal.Executor executing this fiber
The fiber's forked children. This will only be populated if the fiber is supervised (via ZIO#supervised).
Awaits on all fibers to be completed, successfully or not.
Awaits on all fibers to be completed, successfully or not.
Iterable
of fibers to be awaited
UIO[Unit]
A fiber that is done with the specified zio.Exit value.
A fiber that has already failed with the specified value.
A fiber that has already failed with the specified value.
error type
failure value
Fiber[E, Nothing]
failed fiber
Lifts an zio.IO into a Fiber
.
Lifts an zio.IO into a Fiber
.
error type
type of the fiber
IO[E, A]
to turn into a Fiber
UIO[Fiber[E, A]]
Returns a Fiber
that is backed by the specified Future
.
Returns a Fiber
that is backed by the specified Future
.
type of the Fiber
Future[A]
backing the Fiber
Fiber[Throwable, A]
A fiber that is already interrupted.
A fiber that is already interrupted.
Fiber[Nothing, Nothing]
interrupted fiber
Interrupts all fibers, awaiting their interruption.
Interrupts all fibers, awaiting their interruption.
Iterable
of fibers to be interrupted
UIO[Unit]
Joins all fibers, awaiting their _successful_ completion.
Joins all fibers, awaiting their _successful_ completion. Attempting to join a fiber that has errored will result in a catchable error, _if_ that error does not result from interruption.
Iterable
of fibers to be joined
UIO[Unit]
A fiber that never fails or succeeds.
Returns a fiber that has already succeeded with the specified value.
Returns a fiber that has already succeeded with the specified value.
error type
type of the fiber
success value
Fiber[E, A]
succeeded fiber
A fiber that has already succeeded with unit.
(Since version 1.0.0) use succeed