Iterates entries while allowing dynamic expansion.
Provides a breadth-first iterator over all entries in the collection, including new items added during the iteration itself. This allows your logic to traverse all known items and process new ones as they are introduced dynamically.
Unlike standard .entries() iteration, which operates over a fixed snapshot of the data,
expandingEntries() reflects live state. As entries are added, they are queued and
subsequently included in the iteration.
The mutating iterator.
A Set-like collection with SoHL tracking and iterable enhancements.
SohlSet<T>behaves like a nativeSet<T>but supports parent linkage and persistence signaling. All iteration methods returnItr<T>for compatibility with functional helpers.Remarks
Used when order doesn't matter, but tracking of additions/removals is needed for data persistence or lifecycle. Supports
expandingEntries()to allow for dynamic set mutation during iteration.Example