Attributes
- Companion:
- object
- Graph
- Supertypes
- Self type
Members list
Type members
Inherited classlikes
Value members
Concrete methods
Returns an effect that will contain information computed from the fiber state and status while running on the fiber.
Returns an effect that will contain information computed from the fiber state and status while running on the fiber.
This allows the outside world to interact safely with mutable fiber state without locks or immutable data.
Attributes
Awaits the fiber, which suspends the awaiting fiber until the result of the fiber has been determined.
Awaits the fiber, which suspends the awaiting fiber until the result of the fiber has been determined.
Attributes
- Returns:
UIO[Exit[E, A]]
Retrieves the immediate children of the fiber.
Retrieves the immediate children of the fiber.
Attributes
In the background, interrupts the fiber as if interrupted from the specified fiber. If the fiber has already exited, the returned effect will resume immediately. Otherwise, the effect will resume when the fiber exits.
In the background, interrupts the fiber as if interrupted from the specified fiber. If the fiber has already exited, the returned effect will resume immediately. Otherwise, the effect will resume when the fiber exits.
Attributes
- Returns:
UIO[Exit, E, A]]
The location the fiber was forked from.
The location the fiber was forked from.
Attributes
Tentatively observes the fiber, but returns immediately if it is not already done.
Tentatively observes the fiber, but returns immediately if it is not already done.
Attributes
- Returns:
UIO[Option[Exit, E, A]]]
The status of the fiber.
The status of the fiber.
Attributes
The trace of the fiber.
The trace of the fiber.
Attributes
Inherited methods
Same as zip
but discards the output of the left hand side.
Same as zip
but discards the output of the left hand side.
Attributes
- B
type of the fiber
- E1
error type
- that
fiber to be zipped
- Returns:
Fiber[E1, B]
combined fiber- Inherited from:
- Fiber
Same as zip
but discards the output of the right hand side.
Same as zip
but discards the output of the right hand side.
Attributes
- B
type of the fiber
- E1
error type
- that
fiber to be zipped
- Returns:
Fiber[E1, A]
combined fiber- Inherited from:
- Fiber
Zips this fiber and the specified fiber together, producing a tuple of their output.
Zips this fiber and the specified fiber together, producing a tuple of their output.
Attributes
- B
type of that fiber
- E1
error type
- that
fiber to be zipped
- Returns:
Fiber[E1, (A, B)]
combined fiber- Inherited from:
- Fiber
A symbolic alias for orElseEither
.
A symbolic alias for orElse
.
Maps the output of this fiber to the specified constant.
Maps the output of this fiber to the specified constant.
Attributes
- B
type of the fiber
- b
constant
- Returns:
Fiber[E, B]
fiber mapped to constant- Inherited from:
- Fiber
Generates a fiber dump.
Folds over the runtime or synthetic fiber.
Interrupts the fiber from whichever fiber is calling this method. If the fiber has already exited, the returned effect will resume immediately. Otherwise, the effect will resume when the fiber exits.
Interrupts the fiber from whichever fiber is calling this method. If the fiber has already exited, the returned effect will resume immediately. Otherwise, the effect will resume when the fiber exits.
Attributes
- Returns:
UIO[Exit, E, A]]
- Inherited from:
- Fiber
Interrupts the fiber as if interrupted from the specified fiber. If the fiber has already exited, the returned effect will resume immediately. Otherwise, the effect will resume when the fiber exits.
Interrupts the fiber as if interrupted from the specified fiber. If the fiber has already exited, the returned effect will resume immediately. Otherwise, the effect will resume when the fiber exits.
Attributes
- Returns:
UIO[Exit, E, A]]
- Inherited from:
- Fiber
Interrupts the fiber from whichever fiber is calling this method. The interruption will happen in a separate daemon fiber, and the returned effect will always resume immediately without waiting.
Interrupts the fiber from whichever fiber is calling this method. The interruption will happen in a separate daemon fiber, and the returned effect will always resume immediately without waiting.
Attributes
- Returns:
UIO[Unit]
- Inherited from:
- Fiber
Joins the fiber, which suspends the joining fiber until the result of the fiber has been determined. Attempting to join a fiber that has erred will result in a catchable error. Joining an interrupted fiber will result in an "inner interruption" of this fiber, unlike interruption triggered by another fiber, "inner interruption" can be caught and recovered.
Joins the fiber, which suspends the joining fiber until the result of the fiber has been determined. Attempting to join a fiber that has erred will result in a catchable error. Joining an interrupted fiber will result in an "inner interruption" of this fiber, unlike interruption triggered by another fiber, "inner interruption" can be caught and recovered.
Attributes
- Returns:
IO[E, A]
- Inherited from:
- Fiber
Maps over the value the Fiber computes.
Maps over the value the Fiber computes.
Attributes
- B
result type of f
- f
mapping function
- Returns:
Fiber[E, B]
mapped fiber- Inherited from:
- Fiber
Passes the success of this fiber to the specified callback, and continues with the fiber that it returns.
Passes the success of this fiber to the specified callback, and continues with the fiber that it returns.
Attributes
- B
The success value.
- f
The callback.
- Returns:
Fiber[E, B]
The continued fiber.- Inherited from:
- Fiber
Effectually maps over the value the fiber computes.
Returns a fiber that prefers this
fiber, but falls back to the that
one
when this
one fails. Interrupting the returned fiber will interrupt both
fibers, sequentially, from left to right.
Returns a fiber that prefers this
fiber, but falls back to the that
one
when this
one fails. Interrupting the returned fiber will interrupt both
fibers, sequentially, from left to right.
Attributes
- A1
type of the other fiber
- E1
error type
- that
fiber to fall back to
- Returns:
Fiber[E1, A1]
- Inherited from:
- Fiber
Returns a fiber that prefers this
fiber, but falls back to the that
one
when this
one fails. Interrupting the returned fiber will interrupt both
fibers, sequentially, from left to right.
Returns a fiber that prefers this
fiber, but falls back to the that
one
when this
one fails. Interrupting the returned fiber will interrupt both
fibers, sequentially, from left to right.
Attributes
- B
type of the other fiber
- E1
error type
- that
fiber to fall back to
- Returns:
Fiber[E1, B]
- Inherited from:
- Fiber
Converts this fiber into a scala.concurrent.Future.
Converts this fiber into a scala.concurrent.Future.
Attributes
- ev
implicit witness that E is a subtype of Throwable
- Returns:
UIO[Future[A]]
- Inherited from:
- Fiber
Converts this fiber into a scala.concurrent.Future, translating any errors to java.lang.Throwable with the specified conversion function, using Cause.squashTraceWith
Converts this fiber into a scala.concurrent.Future, translating any errors to java.lang.Throwable with the specified conversion function, using Cause.squashTraceWith
Attributes
- f
function to the error into a Throwable
- Returns:
UIO[Future[A]]
- Inherited from:
- Fiber
Maps the output of this fiber to ()
.
Maps the output of this fiber to ()
.
Attributes
- Returns:
Fiber[E, Unit]
fiber mapped to()
- Inherited from:
- Fiber
Named alias for <*>
.
Named alias for <*>
.
Attributes
- B
type of that fiber
- E1
error type
- that
fiber to be zipped
- Returns:
Fiber[E1, (A, B)]
combined fiber- Inherited from:
- Fiber
Named alias for <*
.
Named alias for <*
.
Attributes
- B
type of the fiber
- E1
error type
- that
fiber to be zipped
- Returns:
Fiber[E1, A]
combined fiber- Inherited from:
- Fiber
Named alias for *>
.
Named alias for *>
.
Attributes
- B
type of the fiber
- E1
error type
- that
fiber to be zipped
- Returns:
Fiber[E1, B]
combined fiber- Inherited from:
- Fiber
Zips this fiber with the specified fiber, combining their results using the specified combiner function. Both joins and interruptions are performed in sequential order from left to right.
Zips this fiber with the specified fiber, combining their results using the specified combiner function. Both joins and interruptions are performed in sequential order from left to right.
Attributes
- B
type of that fiber
- C
type of the resulting fiber
- E1
error type
- f
function to combine the results of both fibers
- that
fiber to be zipped
- Returns:
Fiber[E1, C]
combined fiber- Inherited from:
- Fiber