a-synchronous / a-synchronous/rubico
reduce.while
Aperta
enhancement
help wanted
- Lingua principale
- JavaScript
- Stelle
- 283
- Fork
- 17
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
## reduce.while
```coffeescript
var T any,
accumulator any,
reducer (accumulator, T)=>Promise|accumulator,
binaryPredicate (accumulator, T)=>Promise|boolean,
args ...any,
init (...args=>accumulator)|accumulator,
reduce.while(binaryPredicate, reducer, init?)(...args) -> Promise|accumulator
```
`reduce` while a binary predicate is true for the accumulator and each item of a foldable.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.