(timer)
| 24 | } |
| 25 | |
| 26 | public tick(timer): void { |
| 27 | if (!this.disposed) { |
| 28 | this.callback(); |
| 29 | } |
| 30 | |
| 31 | if (!this.shouldRepeat) { |
| 32 | this.unregister(); |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | public unregister() { |
| 37 | if (!this.disposed) { |
nothing calls this directly
no test coverage detected