Awaitful Packages
apr-engine-each
apr-engine-iterator
apr-engine-until
apr-engine-sum
apr-map
Produces a new collection of values by mapping each value in coll through the iteratee function.
apr-reduce
Reduces coll into a single value using an async iteratee to return each successive step.
apr-parallel
Run the tasks collection of functions in parallel, without waiting until the previous function has completed.
apr-find
Returns the first value in coll that passes an async truth test.
apr-intercept
Intercepts errors, the Go way!
apr-for-each
Applies the function iteratee to each item in coll, in parallel.
apr-main
Catches a promise error, writes the stacktrace to stderr and exists
apr-times
Calls the iteratee function n times, and accumulates results in the same manner you would use with map.
apr-until
Repeatedly call fn until test returns true.
apr-engine-repeat
apr-engine-back
apr-filter
Returns a new array of all the values in coll which pass an async truth test.
apr-constant
Returns a promise that when called, then's with the values provided. Useful as the first function in a waterfall.
apr-some
Returns true if at least one element in the coll satisfies an async test.
apr-whilst
Repeatedly call fn, while test returns true.