* Trigger the onTick function to process the fastTimers array. * Exported for testing purposes only. * Marking as deprecated to discourage any use outside of testing. * @deprecated * @param {number} [delay=0] The delay in milliseconds to add to the now value.
(delay = 0)
| 1284 | * @param {number} [delay=0] The delay in milliseconds to add to the now value. |
| 1285 | */ |
| 1286 | tick(delay = 0) { |
| 1287 | fastNow += delay - RESOLUTION_MS + 1; |
| 1288 | onTick(); |
| 1289 | onTick(); |
| 1290 | }, |
| 1291 | /** |
| 1292 | * Reset FastTimers. |
| 1293 | * Exported for testing purposes only. |