A record containing information about a Fiber.
A record containing information about a Fiber.
The fiber's unique identifier
The set of fibers attempting to interrupt the fiber or its ancestors.
The fiber's forked children.
The zio.internal.Executor executing this fiber
The identity of a Fiber, described by the time it began life, and a monotonically increasing sequence number generated from an atomic counter.
A runtime fiber that is executing an effect.
A runtime fiber that is executing an effect. Runtime fibers ave an identity and a trace.
A synthetic fiber that is created from a pure value or that combines existing fibers.
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]
Collects all fibers into a single fiber producing an in-order list of the results.
A fiber that is done with the specified zio.Exit value.
Collects a complete dump of the specified fibers and all children of the fibers.
Collects a complete dump of all fibers.
Collects a complete dump of all fibers. This could potentially be quite large.
TODO: Switch to "streaming lazy" version.
Collects a complete dump of the specified fibers and all children of the fibers and renders it as a string.
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
A FiberRef
that stores the name of the fiber, which defaults to None
.
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]
Creates a Fiber
that is halted with the specified cause.
Interrupts all fibers, awaiting their interruption.
Interrupts all fibers, awaiting their interruption.
Iterable
of fibers to be interrupted
UIO[Unit]
Interrupts all fibers as by the specified fiber, awaiting their interruption.
Interrupts all fibers as by the specified fiber, awaiting their interruption.
The identity of the fiber to interrupt as.
Iterable
of fibers to be interrupted
UIO[Unit]
A fiber that is already interrupted.
A fiber that is already interrupted.
Fiber[Nothing, Nothing]
interrupted fiber
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.
Collects a complete dump of the specified fibers and all children of the fibers and renders it to the console.
The root fibers.
Returns a fiber that has already succeeded with the specified value.
Returns a fiber that has already succeeded with the specified value.
type of the fiber
success value
Fiber[E, A]
succeeded fiber
A fiber that has already succeeded with unit.
Retrieves the fiber currently executing on this thread, if any.
Retrieves the fiber currently executing on this thread, if any. This will
always be None
unless called from within an executing effect.