JSPM

Found 38 results for awaitful

apr-intercept

Intercepts errors, the Go way!

  • v3.0.4
  • 57.65
  • Published

apr-reduce

Reduces coll into a single value using an async iteratee to return each successive step.

  • v3.0.3
  • 56.35
  • Published

apr-parallel

Run the tasks collection of functions in parallel, without waiting until the previous function has completed.

  • v3.0.3
  • 54.23
  • Published

apr-map

Produces a new collection of values by mapping each value in coll through the iteratee function.

  • v3.0.3
  • 53.81
  • Published

apr-find

Returns the first value in coll that passes an async truth test.

  • v3.0.3
  • 53.33
  • Published

apr-for-each

Applies the function iteratee to each item in coll, in parallel.

  • v3.0.3
  • 48.95
  • Published

apr-main

Catches a promise error, writes the stacktrace to stderr and exists

  • v4.0.3
  • 30.61
  • Published

apr-until

Repeatedly call fn until test returns true.

  • v3.0.3
  • 25.12
  • Published

apr-filter

Returns a new array of all the values in coll which pass an async truth test.

  • v3.0.3
  • 23.09
  • Published

apr-awaitify

Transform a callback-based function into a promise-based one.

  • v3.0.3
  • 22.04
  • Published

apr-times

Calls the iteratee function n times, and accumulates results in the same manner you would use with map.

  • v3.0.3
  • 18.74
  • Published

apr-concat

Applies iteratee to each item in coll, concatenating the results. Returns the concatenated list.

  • v3.0.3
  • 18.43
  • Published

apr-some

Returns true if at least one element in the coll satisfies an async test.

  • v3.0.3
  • 17.68
  • Published

apr-log

  • v3.0.3
  • 17.09
  • Published

apr-reflect

Wraps the function in another function that always returns data even when it errors.

  • v3.0.3
  • 16.62
  • Published

apr-dir

  • v3.0.3
  • 16.56
  • Published

apr-apply

Creates a continuation function with some arguments already applied.

  • v3.0.3
  • 16.53
  • Published

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.

  • v3.0.3
  • 16.52
  • Published

apr-constant

Returns a promise that when called, then's with the values provided. Useful as the first function in a waterfall.

  • v3.0.3
  • 15.46
  • Published

apr-sort-by

Sorts a list by the results of running each coll value through an async iteratee.

  • v3.0.3
  • 15.23
  • Published

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.

  • v3.0.3
  • 15.20
  • Published

apr-waterfall

Runs the tasks array of functions in series, each passing their results to the next in the array.

  • v3.0.3
  • 15.20
  • Published

apr-reject

The opposite of filter. Removes values that pass an async truth test.

  • v3.0.3
  • 15.06
  • Published

apr-every

Returns true if every element in coll satisfies an async test.

  • v3.0.3
  • 14.75
  • Published

apr-whilst

Repeatedly call fn, while test returns true.

  • v3.0.3
  • 14.59
  • Published

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())).

  • v3.0.3
  • 14.59
  • Published

apr-series

Run the functions in the tasks in series, each one running once the previous function has completed.

  • v3.0.3
  • 14.59
  • Published