You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`DataChangeTimingManager: Data change for ${id} is ${this.isRunning(id) ? 'still underway' : 'too soon'} `+
12
-
`(started at ${(this.started[id]??'??').toString()}); waiting ${minInterval} milliseconds`
13
-
);
15
+
if(this.started[id]||lastRunDelta<minInterval){
16
+
if(this.started[id]){
17
+
consoleLog('timing',id,`Data change is still underway (started at ${this.formatDate(this.started[id])}); waiting ${minInterval} milliseconds`);
18
+
}else{
19
+
consoleLog('timing',id,`Data change was only ${lastRunDelta} msec ago (finished at ${this.formatDate(this.lastRun[id])}); waiting ${minInterval} milliseconds`);
20
+
}
14
21
15
22
if(this.dataChangeTimeout[id]){
16
23
clearTimeout(this.dataChangeTimeout[id]);
@@ -30,16 +37,19 @@ export class DataChangeTimingManager {
30
37
31
38
start=(id): void=>{
32
39
this.started[id]=newDate();
40
+
consoleLog('timing',id,`starting at ${this.formatDate(this.started[id])}`);
0 commit comments