Answer the question
In order to leave comments, you need to log in
How to autocorrect timer in RxJS?
Hello! Please tell me how to auto-correct the timer in RxJS. Tried this code, but it doesn't change the timer delay:
this.reloadGameInfo_latency = 10000;
this.reloadGameInfo$ = timer(0, this.reloadGameInfo_latency);
this.reloadGameInfo$.subscribe((response) => {
this.reloadGameInfo_latency += 10000;
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question