* The setTimeout() method sets a timer which executes a function once the * timer expires. * @param {Function} callback A function to be executed after the timer * expires. * @param {number} delay The time, in milliseconds that the timer should * wait bef
(callback, delay, arg)
| 2569 | * @returns {NodeJS.Timeout|FastTimer} |
| 2570 | */ |
| 2571 | setTimeout(callback, delay, arg) { |
| 2572 | return delay <= RESOLUTION_MS ? setTimeout(callback, delay, arg) : new FastTimer(callback, delay, arg); |
| 2573 | }, |
| 2574 | /** |
| 2575 | * The clearTimeout method cancels an instantiated Timer previously created |
| 2576 | * by calling setTimeout. |
no outgoing calls
no test coverage detected