module type S =sig..end
type input
type output
val compute : ThreadPoolExecutor.t ->
input Stream.t -> output -> outputThen, folds over key/value couple through the reduce operation, using the third parameter as the inital value.
Raises Failure if a map operation raised an uncaught exception.
Raises any exception raised by a reduce or combine operation,
or by the comparison function.