A queue to manage fetch requests with unique identification.
Useful to deduplicate concurrent network calls to the same URL.
Example
constqueue = newFetchQueue(fetch); const [a, b] = awaitPromise.all([ queue.addRequest('https://example.com/data'), queue.addRequest('https://example.com/data') ]); // only one HTTP request is performed
A queue to manage fetch requests with unique identification.
Useful to deduplicate concurrent network calls to the same URL.
Example