node-promise-inflight

one promise for multiple requests in flight to avoid async duplication
  https://github.com/iarna/promise-inflight
  0
  no reviews



Multiple requests called with the same result (only one underlying promise) Based on the callback based function 'inflight'.

Usage: return inflight(key, () => {/*fetch url*/ return Promise.delay(100)}

Node.js is an event-based server-side JavaScript engine.