Optional
Return true to yield the item.
true
Return a custom ID to uniquely identify an item.
A store to keep track of which items have been seen.
If you have a large dataset, you may want to use a more memory-efficient store than a Set, such as a Bloom filter.
Set
Set<unknown>.
Set<unknown>
Return
trueto yield the item.