Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
.jshintrc
licence.md
package.json
readme.md

readme.md

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

fold

fold(array (or promise for 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

Something went wrong with that request. Please try again.