Readonly
[toReadonly
onThe function to call when a value is needed to be disposed.
A disposer function to unsubscribe from the event.
Readonly
size
A Readable that emits the set itself whenever it changes.
Iterates over values in the set.
Appends a new element with a specified value to the end of the Set.
Removes a specified value from the Set.
Returns true if an element in the Set existed and has been removed, or false if the element does not exist.
a boolean indicating whether an element with the specified value exists in the Set or not.
a boolean indicating whether this Set has no elements in common with the argument.
a boolean indicating whether all the elements in this Set are also in the argument.
a boolean indicating whether all the elements in the argument are also in this Set.
Despite its name, returns an iterable of the values in the set.
Subscribe to changes in the set.
The function to call when the set is changed.
A disposer function to unsubscribe from the event.
Returns an iterable of values in the set.
Subscribe to events when a value is needed to be disposed.
A value is considered for disposal when: