Implementation of a SystemClock for testing. We can advance the time manually via tick, and then scheduled callbacks will be executed as appropriate.
cancels a request made with requestAnimFrame.
the request ID
cancels a pending scheduled callback.
the ID of the scheduled callback
requests that the callback be executed before the next repaint.
the function to be called
schedules a callback to be executed in the future.
number of milliseconds to wait before executing the callback
the ID of the callback
Returns the current time as given by the system clock, in seconds.
the current time as given by the system clock, in seconds
Advances the system time and executes any scheduled callbacks whose time has come.
how much time to advance in milliseconds
Generated using TypeDoc
Implementation of a SystemClock for testing. We can advance the time manually via tick, and then scheduled callbacks will be executed as appropriate.