BREAKING CHANGES:
- Changed constructor params to be an obj with the fields
{maxConcurrency: number, maxRetries: number, timeout: number}
.add
method changed params to(fn, callback, error callback)
for more compatibility with promises- Removed default concurrency throttle. now the default behaviour is as a normal promise handler
- To use timeout ability, fn must have a signal param passed to the promise.
- There is an Abort controller for handling abort signals in your promise but not required.
Changes:
- Split out assertions to their own files.
- Split retry system to it's own engine.
- Added abort ability to timeout.
- Added an abortHandler to use for handling abort signals in your promise.
- Refactored tests to be more clear what we're testing.
- Added the ability to configure retries and timeout in the constructor as well.
Full Changelog: v0.2.10...v1.0.0