Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Abortable Fetch Requests + Fetch Request Queue
- Renamed directory `lib` to `src` to better represent the source files - fetch_provider.js: - Added `maxConcurrency` option, defaults to 5 concurrent requests - Added internal vars and helps to aid in the concurrent queue - execute() now queues all requests by default, and executes then when able to do so - Added provider.areRequestsSaturated() to check if concurrency is maxed out - Added signal handling, so fetch requests can be aborted - query.js: Added options property and setOptions fluent helper (used only by fetch provider atm) - tests: Updated for proof of coverage of new features - gulpfile.js: Updated for src rename - package.json: Added dev dependency abort-controller and updated node-fetch dep to work with signals - README.md: updated docs
- Loading branch information
1 parent
9a5d2fe
commit da39f05
Showing
21 changed files
with
2,153 additions
and
1,578 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.