包详细信息

lie-fold

calvinmetcalf7MIT0.1.1

fold all of the lies

lie, promise, async

自述文件

var fold = require('lie-fold');

fold

fold(array of things,function,accumulator)

like Array.prototype.reduce, but the array may include promises or values and the function may return a promise or a value. fold always return a promise.

unlike lfold and rfold fold calls the values in the order the promises resolve.

License

MIT