support for iterable collectors, i.e. batching with pagination