* Stop all scheduling activity (called on graceful shutdown).
()
| 89 | * Stop all scheduling activity (called on graceful shutdown). |
| 90 | */ |
| 91 | public async shutdown(): Promise<void> { |
| 92 | for (const [, task] of this.cronJobs) { |
| 93 | task.stop() |
| 94 | } |
| 95 | this.cronJobs.clear() |
| 96 | } |
| 97 | |
| 98 | // ─── Mode-agnostic job management ─────────────────────────────────────── |
| 99 |
no test coverage detected