mirror of
https://github.com/simonbrunel/qtpromise.git
synced 2025-02-24 03:44:46 +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)`).