()
| 39 | const setTimeoutImpl = options?.setTimeoutImpl || setTimeout; |
| 40 | |
| 41 | function invokeFunc(): unknown { |
| 42 | cancelTimers(); |
| 43 | callbackReturnValue = func(); |
| 44 | return callbackReturnValue; |
| 45 | } |
| 46 | |
| 47 | function cancelTimers(): void { |
| 48 | timerId !== undefined && clearTimeout(timerId); |
no test coverage detected