(context?: TaskNotesMutationContext)
| 2449 | } |
| 2450 | |
| 2451 | private async stopPomodoro(context?: TaskNotesMutationContext): Promise<PomodoroState> { |
| 2452 | await this.withMutationContext([], context, () => |
| 2453 | this.plugin.pomodoroService.stopPomodoro() |
| 2454 | ); |
| 2455 | return this.copyPomodoroState(this.plugin.pomodoroService.getState()); |
| 2456 | } |
| 2457 | |
| 2458 | private async pausePomodoro(context?: TaskNotesMutationContext): Promise<PomodoroState> { |
| 2459 | await this.withMutationContext([], context, () => |
no test coverage detected