Closed AlexanderPokhilenko closed 2 years ago
We have many tasks with setIntervals, but currently they are called only after the delay.
setInterval
For example, because of this, the button for buying tokens is disabled for several seconds (it leads to bad UX).
We need to make wrapper that will call periodic tasks instantly, without delays before the first start.
We have many tasks with
setInterval
s, but currently they are called only after the delay.For example, because of this, the button for buying tokens is disabled for several seconds (it leads to bad UX).
We need to make wrapper that will call periodic tasks instantly, without delays before the first start.