| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Enhance examples for Collections methods.
* Update collection example code, avoiding usage of IIFE on async/await examples
* Convert examples on async.auto, async.series, and async.parallel to samples using Promises and async/await
Co-authored-by: Roman Balayan <roman.balayan@paymaya.com>
|
|
|
|
| |
browser throttling (#1761)
|
| |
|
|
|
|
|
|
|
| |
* Adding test case when invalid callback is provided to each ()
* adding nyc ignore block
* Adding new test cases for drain to be called if empty data is pushed
|
|
|
| |
Co-authored-by: Paul Karimov <pkarimov@microsoft.com>
|
| |
|
|
|
|
|
| |
There is a small typo in dist/async.js, docs/v2/scripts/async.js, docs/v3/scripts/async.js, lib/groupBySeries.js.
Should read `whose` rather than `whoses`.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Closes #1659
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* feat: add mjs bundle and pkg.main to CJS build
* update docs
|
|
|
|
|
|
|
|
|
|
|
|
| |
* BREAKING CHANGE: awaitable queues
* fix priorityQueue tests
* fix tests in firefox
* make the upgrade a bit more user-friendly
* clarify docs
|
|
|
|
|
|
| |
* BREAKING CHANGE: remove partial application feature of applyEach
* add awaitable tests for applyEach
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
function serialization in Safari.
* Add azure pipelines CI.
* Publish test results.
* Enable coveralls
* Use Safari for OSX browser tests.
* Adding missing lib files to karma (only Safari complained).
* Rename with dot so it gets better placed in order.
* Use ci instead of install, so we stick with package-lock.json
* Use npm test instead of mocha directly. It just needed a double -- escape.
* Move DISPLAY to Linux only, with value set just once.
* Use variables for DISPLAY, browser tests and coveralls.
* Simplify steps with a browser name variable.
* Run junit reporter on CI only.
* DISPLAY should be already an environment variable.
* Use vmImage for consistency with other OS.
* Don't use verbose npm@1 task.
* No need to setTimeout, let's `done` on the callback.
* Don't resume twice.
Check queue length on callback for safety, setTimeout may be delayed.
* Avoid time dependency, act on events instead.
* Avoid dependency on timing to final assertion.
* Rewrite test to avoid setTimeout
* Fix formatting.
* Make diff more significant (125+50 ~= 200)
* Make diff more significant to avoid race conditions.
* Wait a bit more so default 5 retries did happen.
* Make delays shorter to avoid "Timeout of 250ms exceeded"
* Shorten delay to avoid 200ms test timeout in browser tests.
* Shorten timeout to mitigate 200ms test timeout.
* Add more diff on delays to enforce test behavior.
* Make delays more significant to avoid race conditions.
* Stop using setTimeout and rely on events to push new items, so order is enforced.
* Fix async function serialization in Safari.
* Add more delay so 4 never completes before 3.
* Ensure 3 never completes before 4.
* Use drain instead of task count.
Trying to ensure done is called from Windows browser tests that fail frequently.
* Ensure 2 starts before 3 arrives.Avoid expected 'process 2 3' to equal 'process 2'
* Add retries to browser tests.
* Don't fail all on Mac & Windows browser tests.
* Ensure 3 happens before 2, it fails sparely on OSX.
AssertionError: expected [ 1, 2, 3 ] to deeply equal [ 1, 3, 2 ]
* Avoid unnecessary multilines.
* Use Edge for Windows browser tests.
|
|
|
|
| |
Closes #1625
|
|
|
|
|
|
| |
* Reflects any values passed even if function has error
* fix async function tests
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix: priorityQueue drains while items still pending
Priority queue should check if the underlying queue is idle before draining.
Currently the priorityQueue drains if an empty array of tasks is pushed even if other tasks are processing.
* test: adds test for priorityQueue draining before tasks ended
* test: lint fix
* test: adds running assert to drain on test/priorityQueue.js
Co-Authored-By: andrebsguedes <andrebsguedes@gmail.com>
|
|
|
| |
Closes #1578
|
| |
|
|
|
|
|
|
| |
* ensure err is passed on for cancelable methods
* fix test descriptions
|
|
|
|
|
|
| |
* use heap tree in priority queue
* small refactor
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* make each and family awaitable
* dont pretend they're AsyncFunctions
* check errors
* ensure function name is preserved somehow
* awaitable concat
* awaitable detect
* awaitable every/filter
* awaitable groupBy
* awaitable map/mapValues
* awaitable reduce
* awaitable reject
* awaitable some
* awaitable transform
* awaitable times
* awaitable auto
* awaitable compose/seq
* awaitable whilst/until (lol)
* awaitable forever
* awaitable parallel/race
* awaitable retry
* awaitable series (lol)
* awaitable tryEach
* awaitable waterfall (lol)
* lint
* cleanup, remove noop and unused internal functions
|
|
|
| |
Just a little thing I noticed :)
|
|
|
|
|
|
|
|
|
|
| |
* Add cargo queue type and tests
* remove only on tests
* make failing test more deterministic
* Dont define a new type
|
|
|
| |
feat: initial async generator support
|
|
|
|
| |
(#1569)
|
|
|
| |
Concat function, since v2.5.0, returns back array results in the original order.
|
|
|
|
|
|
|
|
| |
* remove during, make test functions in until/whilst async
* add during aliases fix docs
* regenerate index
|
|
|
|
|
|
| |
* feat: iterable queues
* docs
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cancelable foreach
* cancelable waterfall
* cancellable auto
* fix lint
* fix tests
* cancelable whilst/until/during/forever
* fix waterfall test. It WILL get there
* docs
* use rest params instead of slice
* clean up internals
* remove property func
* clarify uses of createTester
* happy path async funtions in asyncify
* stop using arguments
* DLL to class
* moar arrows
* fix merge issues
* remove forOwn
* moar arrows
* fix merge mistake
* even more arrows, what can stop him
* mo more fn.apply(null,...)
* remove more spurious uses of apply
* update lint config
* just when you thought there couldn't possibly be more arrows
* use eslint:recommended
* even less uses or aguments
* get rid of prototype cuteness
* fix concat tests
* fix more tests
|