Returns a new fiber refs with the specified ref deleted from it.
Returns a set of each FiberRef
in this collection.
Forks this collection of fiber refs as the specified child fiber id.
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.
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 the initial
value of the FiberRef
otherwise.
Joins this collection of fiber refs to the specified collection, as the specified fiber id.
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.
FiberRefs
is a data type that represents a collection ofFiberRef
values. This allows safely propagatingFiberRef
values across fiber boundaries, for example between an asynchronous producer and consumer.