(id: string)
| 53 | } |
| 54 | |
| 55 | export function stopTimer(id: string): void { |
| 56 | const timer = timers.get(id) |
| 57 | if (timer) { |
| 58 | clearInterval(timer) |
| 59 | timers.delete(id) |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | export function initScheduler(options: SchedulerOptions): void { |
| 64 | if (initialized) return |
no test coverage detected