Releases: SBoudrias/run-async
Releases · SBoudrias/run-async
v2.4.1
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
- Remove 0.10 Promise polyfill given it is now unsupported.
v2.2.0
- 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.0.0
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
- Functions wrapped by run-async can now return a promise which resolution will trigger the callback.
- Callbacks are always run asynchronously.