Skip to content

Commit 241d7cf

Browse files
committed
small ref
1 parent 554bb5b commit 241d7cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ export abstract class Client<O extends ClientOptions = ClientOptions> {
945945
* `false` otherwise
946946
*/
947947
protected async _isClientDoneProcessing(timeout?: number): Promise<boolean> {
948-
let ticked: number = 0;
948+
let ticked = 0;
949949

950950
// if no timeout is provided, we wait "forever" until everything is processed
951951
while (!timeout || ticked < timeout) {
@@ -954,7 +954,7 @@ export abstract class Client<O extends ClientOptions = ClientOptions> {
954954
if (!this._numProcessing) {
955955
return true;
956956
}
957-
ticked += 1;
957+
ticked++;
958958
}
959959

960960
return false;

0 commit comments

Comments
 (0)