Constructs a new LocalSet
.
Returns the number of values in the Set object.
the number of values in the Set object
The iterator over this set.
a iterator over this set
Removes all elements from the Set object.
a Promise
resolving to true
if the elements were removed from this set, otherwise resolves to false
Removes the specified element from this set if it is present.
the value to be removed from this set, if present
a Promise
resolving to true
if the elements were removed from this set, otherwise resolves to false
Returns true
if this set contains the specified element.
whose presence in this set is to be tested
a Promise
resolving to true
if set contains the value, or false
if not
This is a local implementation of RemoteSet for cases when entries are cannot be scrolled through on the server and must instead be cached on the client.