Packages

async

3.2.6 · 19 Aug 2024MIT149.5M / weekRepositoryHomepagenpmAtom feed

Your version

1.3.0

29 Jun 2015Where it was published

1.5.2 is the newest release of 1.x.

In short

3 new6 changed

Release note

New Features:

  • Added constant

  • Added asyncify/wrapSync for making sync functions work with callbacks. (#671, #806)

  • Added during and doDuring, which are like whilst with an async truth test.

  • retry now accepts an interval parameter to specify a delay between retries.

  • async should work better in Web Workers due to better root detection

  • Callbacks are now optional in whilst, doWhilst, until, and doUntil

  • Various internal updates (#786, #801, #802, #803)

  • Various doc fixes (#790, #794)

Bug Fixes:

  • cargo now exposes the payload size, and cargo.payload can be changed on the fly after the cargo is created. (#740, #744, #783)

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.