MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / stopPomodoro

Method stopPomodoro

src/api/TaskNotesAPI.ts:2451–2456  ·  view source on GitHub ↗
(context?: TaskNotesMutationContext)

Source from the content-addressed store, hash-verified

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, () =>

Callers 5

TaskNotesAPIClass · 0.95
handlerFunction · 0.45
renderMethod · 0.45

Calls 3

withMutationContextMethod · 0.95
copyPomodoroStateMethod · 0.95
getStateMethod · 0.45

Tested by

no test coverage detected