Skip to content
Sections
>> Trisquel >> Pakiety >> aramo >> web >> node-promise-inflight
etiona  ] [  nabia  ] [  aramo  ]
[ Pakiet źródłowy: node-promise-inflight  ]

Pakiet: 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.

Pobieranie node-promise-inflight

Pobierz dla wszystkich dostępnych architektur
Architektura Rozmiar pakietu Rozmiar po instalacji Pliki
all 4,8 KiB19 KiB [lista plików]