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 554bb5b commit 241d7cfCopy full SHA for 241d7cf
packages/core/src/client.ts
@@ -945,7 +945,7 @@ export abstract class Client<O extends ClientOptions = ClientOptions> {
945
* `false` otherwise
946
*/
947
protected async _isClientDoneProcessing(timeout?: number): Promise<boolean> {
948
- let ticked: number = 0;
+ let ticked = 0;
949
950
// if no timeout is provided, we wait "forever" until everything is processed
951
while (!timeout || ticked < timeout) {
@@ -954,7 +954,7 @@ export abstract class Client<O extends ClientOptions = ClientOptions> {
954
if (!this._numProcessing) {
955
return true;
956
}
957
- ticked += 1;
+ ticked++;
958
959
960
return false;
0 commit comments