request-concurrency
v1.0.3
Published
Control API concurrency.
Downloads
3
Maintainers
Readme
fetch concurrency
控制调用并发数
Getting started
npm install request-concurrency
use
const setConcurrencyWrapper = require("request-concurrency")
const concurrency = 10
const originRequest = fetch
const concurrencyFetch = setConcurrencyWrapper(originRequest, concurrency)