We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61e86e6 commit 40ab573Copy full SHA for 40ab573
src/lib/D4C.ts
@@ -397,8 +397,7 @@ function _q<T extends IAnyFn>(
397
await promise
398
taskQueue.runningTask += 1
399
} else {
400
- // drop this time
401
- console.log('drop this time') // return or throw an exxception??
+ // drop this time, throttle mechanism
402
throw new Error(ErrMsg.QueueIsFull)
403
}
404
} else if (option?.noBlockCurr) {
0 commit comments