Found 38 results for awaitful
apr-engine-each
apr-engine-run
apr-intercept
Intercepts errors, the Go way!
apr-engine-until
apr-reduce
Reduces coll into a single value using an async iteratee to return each successive step.
apr-engine-sum
apr-parallel
Run the tasks collection of functions in parallel, without waiting until the previous function has completed.
apr-map
Produces a new collection of values by mapping each value in coll through the iteratee function.
apr-find
Returns the first value in coll that passes an async truth test.
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-until
Repeatedly call fn until test returns true.
apr-filter
Returns a new array of all the values in coll which pass an async truth test.
apr-engine-back
apr-engine-repeat
apr-awaitify
Transform a callback-based function into a promise-based one.
apr-times
Calls the iteratee function n times, and accumulates results in the same manner you would use with map.
apr-concat
Applies iteratee to each item in coll, concatenating the results. Returns the concatenated list.
apr-some
Returns true if at least one element in the coll satisfies an async test.
apr-log
apr-reflect
Wraps the function in another function that always returns data even when it errors.
apr-dir
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-test-timeout
apr-constant
Returns a promise that when called, then's with the values provided. Useful as the first function in a waterfall.
apr-sort-by
Sorts a list by the results of running each coll value through an async iteratee.
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-waterfall
Runs the tasks array of functions in series, each passing their results to the next in the array.
apr-reject
The opposite of filter. Removes values that pass an async truth test.
apr-test-get-ittr
apr-engine-console
apr-every
Returns true if every element in coll satisfies an async test.
apr-whilst
Repeatedly call fn, while test returns true.
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-series
Run the functions in the tasks in series, each one running once the previous function has completed.