Skip to content
Sections
>> Trisquel >> Balíky >> aramo >> web >> node-promise-inflight
etiona  ] [  nabia  ] [  aramo  ]
[ Zdroj: node-promise-inflight  ]

Balík: 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.

Stiahnuť node-promise-inflight

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 4.8 kB19 kB [zoznam súborov]