public delegate void IteratorResyncFunction (Iterator it)
This function will be called whenever a concurrent update happened to the iterated datastructure.
The implementor of the iterator should restart the iterator from the beginning and clean up any state it might have.
Implementors of a Iterator should implement this function and pass it to the constructor of the custom iterator. The function will be called with the iterator lock held.