public delegate IteratorItem IteratorItemFunction (Iterator it, Value item)
The function that will be called after the next item of the iterator has been retrieved.
This function can be used to skip items or stop the iterator.
The function will be called with the iterator lock held.
the item being retrieved.
the result of the operation.