* The clearTimeout method cancels an instantiated Timer previously created * by calling setTimeout. * * @param {NodeJS.Timeout|FastTimer} timeout
(timeout)
| 1239 | * @param {NodeJS.Timeout|FastTimer} timeout |
| 1240 | */ |
| 1241 | clearTimeout(timeout) { |
| 1242 | if (timeout[kFastTimer]) { |
| 1243 | timeout.clear(); |
| 1244 | } else { |
| 1245 | clearTimeout(timeout); |
| 1246 | } |
| 1247 | }, |
| 1248 | /** |
| 1249 | * The setFastTimeout() method sets a fastTimer which executes a function once |
| 1250 | * the timer expires. |
no test coverage detected
searching dependent graphs…