FiberRefs
is a data type that represents a collection of FiberRef
values. This allows safely propagating FiberRef
values across fiber boundaries, for example between an asynchronous producer and consumer.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Members list
Value members
Concrete methods
Returns a new fiber refs with the specified ref deleted from it.
Returns a new fiber refs with the specified ref deleted from it.
Attributes
Returns a set of each FiberRef
in this collection.
Returns a set of each FiberRef
in this collection.
Attributes
Forks this collection of fiber refs as the specified child fiber id. This will potentially modify the value of the fiber refs, as determined by the individual fiber refs that make up the collection.
Forks this collection of fiber refs as the specified child fiber id. This will potentially modify the value of the fiber refs, as determined by the individual fiber refs that make up the collection.
Attributes
Gets the value of the specified FiberRef
in this collection of FiberRef
values if it exists or None
otherwise.
Gets the value of the specified FiberRef
in this collection of FiberRef
values if it exists or None
otherwise.
Attributes
Gets the value of the specified FiberRef
in this collection of FiberRef
values if it exists or the initial
value of the FiberRef
otherwise.
Gets the value of the specified FiberRef
in this collection of FiberRef
values if it exists or the initial
value of the FiberRef
otherwise.
Attributes
Joins this collection of fiber refs to the specified collection, as the specified fiber id. This will perform diffing and merging to ensure preservation of maximum information from both child and parent refs.
Joins this collection of fiber refs to the specified collection, as the specified fiber id. This will perform diffing and merging to ensure preservation of maximum information from both child and parent refs.
Attributes
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any