MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / stopTimer

Function stopTimer

packages/sync/src/scheduler.ts:55–61  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

53}
54
55export function stopTimer(id: string): void {
56 const timer = timers.get(id)
57 if (timer) {
58 clearInterval(timer)
59 timers.delete(id)
60 }
61}
62
63export function initScheduler(options: SchedulerOptions): void {
64 if (initialized) return

Callers 5

registerApiHandlersFunction · 0.90
registerAutomationRoutesFunction · 0.90
startTimerFunction · 0.85
stopAllTimersFunction · 0.85
reloadTimerFunction · 0.85

Calls 2

getMethod · 0.65
deleteMethod · 0.65

Tested by

no test coverage detected