W3cubDocs

/Bluebird

.reduce

.reduce(
    function(any accumulator, any item, int index, int length) reducer,
    [any initialValue]
) -> Promise

Same as Promise.reduce(this, reducer, initialValue).

© 2013–2018 Petka Antonov
Licensed under the MIT License.
http://bluebirdjs.com/docs/api/reduce.html