(context?: TaskNotesMutationContext)
| 2456 | } |
| 2457 | |
| 2458 | private async pausePomodoro(context?: TaskNotesMutationContext): Promise<PomodoroState> { |
| 2459 | await this.withMutationContext([], context, () => |
| 2460 | this.plugin.pomodoroService.pausePomodoro() |
| 2461 | ); |
| 2462 | return this.copyPomodoroState(this.plugin.pomodoroService.getState()); |
| 2463 | } |
| 2464 | |
| 2465 | private async resumePomodoro(context?: TaskNotesMutationContext): Promise<PomodoroState> { |
| 2466 | await this.withMutationContext([], context, () => |
no test coverage detected