Begin ticking. First scan happens after one interval (never on construct).
()
| 89 | |
| 90 | /** Begin ticking. First scan happens after one interval (never on construct). */ |
| 91 | start(): void { |
| 92 | if (this.timer || this.stopped) return |
| 93 | this.arm() |
| 94 | this.deps.logger.info('schedule.scanner_started', { intervalMs: this.intervalMs }) |
| 95 | } |
| 96 | |
| 97 | stop(): void { |
| 98 | this.stopped = true |
no test coverage detected