Members list
Type members
Classlikes
A record containing information about a Fiber.
Attributes
- Graph
- Supertypes
- Self type
Value members
Concrete methods
Awaits on all fibers to be completed, successfully or not.
Awaits on all fibers to be completed, successfully or not.
Attributes
- fs
Iterable
of fibers to be awaited- Returns:
UIO[Unit]
Collects all fibers into a single fiber producing an in-order list of the results.
Collects all fibers into a single fiber producing an in-order list of the results.
Attributes
Collects all fibers into a single fiber discarding their results.
Collects all fibers into a single fiber discarding their results.
Attributes
Retrieves the fiber currently executing on this thread, if any. This will
always be None
unless called from within an executing effect and this
feature is enabled using Runtime.enableCurrentFiber.
Retrieves the fiber currently executing on this thread, if any. This will
always be None
unless called from within an executing effect and this
feature is enabled using Runtime.enableCurrentFiber.
Attributes
Dumps all fibers to the console.
Dumps all fibers to the console.
Attributes
Dumps all fibers to the specified callback.
Dumps all fibers to the specified callback.
Attributes
A fiber that has already failed with the specified value.
A fiber that has already failed with the specified value.
Attributes
- E
error type
- e
failure value
- Returns:
Fiber[E, Nothing]
failed fiber
Creates a Fiber
that has already failed with the specified cause.
Creates a Fiber
that has already failed with the specified cause.
Attributes
Returns a Fiber
that is backed by the specified Future
.
Returns a Fiber
that is backed by the specified Future
.
Attributes
- A
type of the
Fiber
- thunk
Future[A]
backing theFiber
- Returns:
Fiber[Throwable, A]
Interrupts all fibers, awaiting their interruption.
Interrupts all fibers, awaiting their interruption.
Attributes
- fs
Iterable
of fibers to be interrupted- Returns:
UIO[Unit]
Interrupts all fibers as by the specified fiber, awaiting their interruption.
Interrupts all fibers as by the specified fiber, awaiting their interruption.
Attributes
- fiberId
The identity of the fiber to interrupt as.
- fs
Iterable
of fibers to be interrupted- Returns:
UIO[Unit]
A fiber that is already interrupted.
A fiber that is already interrupted.
Attributes
- Returns:
Fiber[Nothing, Nothing]
interrupted fiber
Joins all fibers, awaiting their successful completion. Attempting to join a fiber that has erred will result in a catchable error, if that error does not result from interruption.
Joins all fibers, awaiting their successful completion. Attempting to join a fiber that has erred will result in a catchable error, if that error does not result from interruption.
Attributes
- fs
Iterable
of fibers to be joined- Returns:
UIO[Unit]
Returns a chunk containing all root fibers. Due to concurrency, the returned chunk is only weakly consistent.
Returns a chunk containing all root fibers. Due to concurrency, the returned chunk is only weakly consistent.