* 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 before the sp
(callback, delay, arg)
| 1230 | * @returns {NodeJS.Timeout|FastTimer} |
| 1231 | */ |
| 1232 | setTimeout(callback, delay, arg) { |
| 1233 | return delay <= RESOLUTION_MS ? setTimeout(callback, delay, arg) : new FastTimer(callback, delay, arg); |
| 1234 | }, |
| 1235 | /** |
| 1236 | * The clearTimeout method cancels an instantiated Timer previously created |
| 1237 | * by calling setTimeout. |
no outgoing calls
searching dependent graphs…