mirror of
https://github.com/simonbrunel/qtpromise.git
synced 2025-03-11 08:47:29 +08:00
Iterates over all the promise values (i.e. `Sequence<T>`) and reduces the sequence to a single value using the given `reducer` function and an optional `initialValue`. Also provide a static helper to directly reduce values (`QtPromise::reduce(values, reducer, initialValue)`).