Skip to content

Releases: SBoudrias/run-async

v2.4.1

27 Apr 05:41
Compare
Choose a tag to compare

Remove is-promise dependency in favor of inlining the implementation (done as a follow-up to a release of the is-promise package breaking all sub-dependencies.)

run-async is now dependency free.

v2.3.0

02 Dec 05:18
Compare
Choose a tag to compare
  • Remove 0.10 Promise polyfill given it is now unsupported.

v2.2.0

13 Mar 07:14
Compare
Choose a tag to compare
  • Normalize the interface to always return a Promise - even if the user Node.js version doesn't support it. (in the absence of native Promise object, we're relying on the Pinkie polyfill)

v2.1.0

14 Jan 06:50
Compare
Choose a tag to compare

Add runAsync.cb() function to support node error first callback style functions. (Supporting this also mean the number of arguments allowed must be fixed) https://github.com/SBoudrias/run-async#runasynccb

v2.0.0

18 Oct 21:12
Compare
Choose a tag to compare

If your version of Node support Promises natively, runAsync will return a promise you can use instead of the usual callbacks. To allow this functionality, we had to slightly change the runAsync signature:

runAsync(func, cb)(arguments).then(cb);

v1.0.0

13 Oct 06:09
Compare
Choose a tag to compare
  • Functions wrapped by run-async can now return a promise which resolution will trigger the callback.
  • Callbacks are always run asynchronously.