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

Method pausePomodoro

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

Source from the content-addressed store, hash-verified

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

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