Skip to content
Sections
>> Trisquel >> Paketit >> aramo >> web >> node-promise-inflight
etiona  ] [  nabia  ] [  aramo  ]
[ Source: node-promise-inflight  ]

Paketti: node-promise-inflight (1.0.1+~1.0.0-1)

one promise for multiple requests in flight to avoid async duplication

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.

Imuroi node-promise-inflight

Imurointi kaikille saataville arkkitehtuureille
Arkkitehtuuri Paketin koko Koko asennettuna Tiedostot
all 4.8 kt19 kt [tiedostoluettelo]