Use a task that creates an iterator as source for a Process
,
which lazily emits the values of the iterator, then halts.
Use a task that creates an iterator as source for a Process
,
which lazily emits the values of the iterator, then halts.
Be sure that iteratorCreator uses no external resources.
If your iterator uses an external resource, use ProcessIoIteratorConstructors.iterator.