Skip to content
Sections
>> Trisquel >> パッケージ >> aramo >> web >> node-promise-inflight
etiona  ] [  nabia  ] [  aramo  ]
[ ソース: node-promise-inflight  ]

パッケージ: 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.

node-promise-inflight のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 4.8 kB19 kB [ファイル一覧]