when-every-item

promise aggregation for arrays

npm install when-every-item
4 downloads in the last week
16 downloads in the last month

when-every-item

promise aggregation for arrays

Installation

$ component install nathan7/when-every-item

or

$ npm install when-every-item

API

whenEveryItem :: [Promise a] -> Promise [a]

Pretty much what it says on the box. Takes a bunch of promises, returns a promise for an array of all their results. Failure propagates.

License

MIT

npm loves you