npm.io
1.1.1 • Published 13 years ago

when-every-item

Licence
MIT
Version
1.1.1
Deps
2
Vulns
0
Weekly
0

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

Keywords