(scheduleId: string, note = 'Paused via API')
| 414 | } |
| 415 | |
| 416 | async pauseSchedule(scheduleId: string, note = 'Paused via API'): Promise<void> { |
| 417 | const client = await this.getScheduleClient(); |
| 418 | const handle = client.getHandle(scheduleId); |
| 419 | await handle.pause(note); |
| 420 | } |
| 421 | |
| 422 | async resumeSchedule(scheduleId: string, note = 'Resumed via API'): Promise<void> { |
| 423 | const client = await this.getScheduleClient(); |
no test coverage detected