MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / saveData

Method saveData

autorepeat/autorepeat.ts:125–130  ·  view source on GitHub ↗
(data: Partial<CacheData>)

Source from the content-addressed store, hash-verified

123 await this.db.write();
124 }
125}
126
127// ==================== Timer tracking for safe cleanup ====================
128const pendingTimers = new Set<ReturnType<typeof setTimeout>>();
129
130function trackTimer(timer: ReturnType<typeof setTimeout>): ReturnType<typeof setTimeout> {
131 pendingTimers.add(timer);
132 return timer;
133}

Callers 2

setTriggerConfigMethod · 0.80
saveDailyHistoryMethod · 0.80

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected