MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / fire

Function fire

apps/desktop/src/main/custom-themes.ts:388–394  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

386 void watcher?.close()
387 let timer: ReturnType<typeof setTimeout> | null = null
388 const fire = (): void => {
389 if (timer) clearTimeout(timer)
390 timer = setTimeout(() => {
391 timer = null
392 void listCustomThemes().then(onChange)
393 }, 200)
394 }
395 const w = chokidar.watch(dir, {
396 ignoreInitial: true,
397 depth: 1,

Callers

nothing calls this directly

Calls 1

listCustomThemesFunction · 0.85

Tested by

no test coverage detected