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

Function reloadTimer

packages/sync/src/scheduler.ts:89–95  ·  view source on GitHub ↗
(dsId: string, skipInitialPull = false)

Source from the content-addressed store, hash-verified

87}
88
89export function reloadTimer(dsId: string, skipInitialPull = false): void {
90 stopTimer(dsId)
91 const ds = _dsManager?.loadAll().find((s) => s.id === dsId)
92 if (ds && ds.enabled) {
93 startTimer(ds, skipInitialPull)
94 }
95}

Callers 2

registerApiHandlersFunction · 0.90
registerAutomationRoutesFunction · 0.90

Calls 3

stopTimerFunction · 0.85
startTimerFunction · 0.85
loadAllMethod · 0.45

Tested by

no test coverage detected