Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> web >> node-promise-inflight
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: node-promise-inflight  ]

套件: node-promise-inflight (1.0.1-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 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: nodejs
    evented I/O for V8 javascript

下載 node-promise-inflight

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 3.1 kB15 kB [文件列表]