Releases: nicolas-van/modern-async
Releases · nicolas-van/modern-async
1.1.0
- 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 tofind
,findIndex
,findLimit
andfindIndexLimit
. - Added new functions
filterGenerator
,mapGenerator
,asyncIterableWrap
,queueMicrotask
,
andtoArray
. - Fixed
delay
anddelayCancellable
inconsistencies due tosetTimeout
usage. Now they
use corejs'setTimeout
implementation. - Added Typescript declarations.
1.0.4
- Fixed bug in
forEachLimit
1.0.3
- Performance improvements. Notably the
Queue
class will now avoid calling thedelay()
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
- 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
- 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
1.0.0
0.1.6
0.1.6
0.1.5
0.1.5
0.1.4
0.1.4
0.1.3
0.1.3