调用报错 asyncFn is not a function
Opened this issue · 0 comments
FeiFanLiang commented
const initReqLimit = require('limited-async-req');
let reqLimit = initReqLimit(10)
await reqLimit(main(param))`
main函数为一个返回promise对象函数
Opened this issue · 0 comments
const initReqLimit = require('limited-async-req');
let reqLimit = initReqLimit(10)
await reqLimit(main(param))`
main函数为一个返回promise对象函数