Awaitful Packages
apr-test-scheduler
apr-test-timeout
apr-waterfall
Runs the tasks array of functions in series, each passing their results to the next in the array.
apr-whilst
Repeatedly call fn, while test returns true.
apr-dir
apr-engine-console
apr-every
Returns true if every element in coll satisfies an async test.
apr-log
apr-reject
The opposite of filter. Removes values that pass an async truth test.
apr-seq
Version of the compose function that is more natural to read. Each function consumes the return value of the previous function. It is the equivalent of compose with the arguments reversed.
apr-series
Run the functions in the tasks in series, each one running once the previous function has completed.
apr-sort-by
Sorts a list by the results of running each coll value through an async iteratee.
apr-apply
Creates a continuation function with some arguments already applied.
apr-asyncify
Take a sync function and make it async. This is useful for plugging sync functions into a waterfall, series, or other async functions.
apr-awaitify
Transform a callback-based function into a promise-based one.
apr-compose
Creates a function which is a composition of the passed asynchronous functions. Each function consumes the return value of the function that follows. Composing functions f(), g(), and h() would produce the result of f(g(h())).
apr-concat
Applies iteratee to each item in coll, concatenating the results. Returns the concatenated list.