A mapper: map sees one item and emits values with emit; finish runs afterthe last item, for whatever an aggregate can only produce once the stream isdone.
map_reduce with the mapping split across at most max_concurrent tasks.
The items are cut into one run per task, each run emits into its own array, andthe arrays are concatenated in slice order — so the result is the same one thesequential run produces, whatever order the tasks happened to finish in.