This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Description
|
protected readonly queue = new PriorityQueue({ comparator: compareFragments}); |
|
protected readonly queued: any = new LRU({ |
|
max: 500, |
|
maxAge: 1000 * 60 * 60 * 24 |
|
}); // to know whether a fragment URL is already added to the priority queue |
Possibly replaceable by
https://www.collectionsjs.com/sorted-map