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 0c8346e commit 1b6230fCopy full SHA for 1b6230f
src/utils/autofetcher.ts
@@ -1,4 +1,11 @@
1
export class AutoFetcher {
2
+ static DEFAULT_TIMEOUT = 30000;
3
+ static MIN_TIMEOUT = 30000;
4
+ timeout: number;
5
+ active: boolean;
6
+ timer: undefined | ReturnType<typeof setTimeout>;
7
+ launchCounter: number;
8
+
9
constructor() {
10
this.timeout = AutoFetcher.DEFAULT_TIMEOUT;
11
this.active = true;
@@ -52,11 +59,4 @@ export class AutoFetcher {
52
59
this.launchCounter++;
53
60
54
61
}
55
-
56
- static DEFAULT_TIMEOUT = 30000;
57
- static MIN_TIMEOUT = 30000;
58
- timeout: number;
- active: boolean;
- timer: undefined | ReturnType<typeof setTimeout>;
- launchCounter: number;
62
0 commit comments