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

Method set

aban/aban.ts:139–144  ·  view source on GitHub ↗
(key: string, value: any)

Source from the content-addressed store, hash-verified

137 if (!this.db) return;
138 this.db.data.cache[key] = value;
139 await this.db.write();
140 }
141
142 async clear(): Promise<void> {
143 await this.initPromise;
144 if (!this.db) return;
145 this.db.data.cache = {};
146 await this.db.write();
147 }

Callers 8

scheduleTaskFunction · 0.45
collectDialogsFunction · 0.45
parseUserIdentifiersFunction · 0.45
handleSeatActionFunction · 0.45
collectDialogsMethod · 0.45
getManagedGroupsMethod · 0.45
summarizeReasonsPlainMethod · 0.45
summarizeReasonsMethod · 0.45

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected