a closeable chunk iterator generator. whenever the function is called, it
produces an iterator for the same underlying resource. this is necessary for the enumerators to
be reusable, ie, produce the same stream of elements when used with two iteratees, and not
produce an empty stream when used a second time. note, however, that the iterators returned by
this generating function do not have to produce the exact same results. allowance is made for
the fact that the underlying resource may be a changeable resource. for instance, we could be
iterating over the contents of a file, and some other process might modify the file in the
meantime.
at this point, Chunkerator serves as our common interchange format for publishers - we will try
to get to and from conversions for this type, from each stream type we handle. we can then
convert between any two publisher types using this one as a mediator.
produces a closeable iterator over the elements in the chunks
deftoParArray: ParArray[T]
Implicit information
This member is added by an implicit conversion from Chunkerator[A] to
CollectionsHaveToParArray[Chunkerator[A], T] performed by method CollectionsHaveToParArray in scala.collection.parallel.
This conversion will take place only if an implicit value of type (Chunkerator[A]) ⇒ GenTraversableOnce[T] is in scope.
a closeable chunk iterator generator. whenever the function is called, it produces an iterator for the same underlying resource. this is necessary for the enumerators to be reusable, ie, produce the same stream of elements when used with two iteratees, and not produce an empty stream when used a second time. note, however, that the iterators returned by this generating function do not have to produce the exact same results. allowance is made for the fact that the underlying resource may be a changeable resource. for instance, we could be iterating over the contents of a file, and some other process might modify the file in the meantime.
at this point, Chunkerator serves as our common interchange format for publishers - we will try to get to and from conversions for this type, from each stream type we handle. we can then convert between any two publisher types using this one as a mediator.