Timers are global mutable state. #spectre
-
-
Virtual time often works better for many reasons though. Consistency of which "now" you're talking about rather that when this function happens to execute (including frame time such as the argument passed to requestAnimationFrame), better for testing, etc.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.