(callback: Function, timeoutMS: number)
| 9 | private callbacks: Function[] = []; |
| 10 | |
| 11 | constructor(callback: Function, timeoutMS: number) { |
| 12 | this.timeLeftMS = timeoutMS; |
| 13 | this.timeoutMS = timeoutMS; |
| 14 | this.callbacks.push(callback); |
| 15 | } |
| 16 | |
| 17 | tick(): void { |
| 18 | if (!this.isCancelled && !this.isTimeExhausted) { |
nothing calls this directly
no outgoing calls
no test coverage detected