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 917fc69 commit 35ace69Copy full SHA for 35ace69
packages/core/src/client.ts
@@ -1152,7 +1152,7 @@ export abstract class Client<O extends ClientOptions = ClientOptions> {
1152
let ticked = 0;
1153
1154
while (!timeout || ticked < timeout) {
1155
- await new Promise(resolve => safeUnref(setTimeout(resolve, 1)));
+ await new Promise(resolve => setTimeout(resolve, 1));
1156
1157
if (!this._numProcessing) {
1158
return true;
0 commit comments