Skip to content

Releases: nicolas-van/modern-async

1.1.0

08 Nov 10:45
Compare
Choose a tag to compare
  • Changed most of the functions that took Iterable as argument to make them also take an
    AsyncIterable.
  • Changed most of the functions that used a concurrency argument to allow them to take a
    Queue instead.
  • Added ordered argument to find, findIndex, findLimit and findIndexLimit.
  • Added new functions filterGenerator, mapGenerator, asyncIterableWrap, queueMicrotask,
    and toArray.
  • Fixed delay and delayCancellable inconsistencies due to setTimeout usage. Now they
    use corejs' setTimeout implementation.
  • Added Typescript declarations.

1.0.4

20 Oct 08:06
Compare
Choose a tag to compare
  • Fixed bug in forEachLimit

1.0.3

09 Aug 16:08
Compare
Choose a tag to compare
  • Performance improvements. Notably the Queue class will now avoid calling the delay() function and will immediately trigger any
    pending task as soon as a task is finished. This change indirectly impacts most functions in this library as they internally use
    Queue. This change can produce minor behavior changes but is not considered a breaking change.
  • Improved tests.

1.0.2

15 Dec 14:29
Compare
Choose a tag to compare
  • Altered UMD deployment to only support browsers that support async/await language feature. The reason is that
    bundling both regenerator-runtime and all the necessary shims is too complex. For older browsers it is easier to
    just process the lib with Babel then add regenerator-runtime and core-js.

1.0.1

15 Dec 11:25
Compare
Choose a tag to compare
  • Fixed map, filter and forEach behavior in case of exception. Pending tasks were not cancelled in case of exception and the
    behavior in that case was not documented as opposed to other functions.

1.0.0

15 Dec 10:55
Compare
Choose a tag to compare
1.0.0

0.1.6

15 Dec 10:18
Compare
Choose a tag to compare
0.1.6

0.1.5

15 Dec 09:58
Compare
Choose a tag to compare
0.1.5

0.1.4

15 Dec 08:29
Compare
Choose a tag to compare
0.1.4

0.1.3

14 Dec 17:56
Compare
Choose a tag to compare
0.1.3