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

Function clearTrackedTimer

im/im.ts:111–114  ·  view source on GitHub ↗
(timer: ReturnType<typeof setTimeout>)

Source from the content-addressed store, hash-verified

109
110function clearTrackedTimer(timer: ReturnType<typeof setTimeout>): void {
111 clearTimeout(timer);
112 pendingTimers.delete(timer);
113}
114
115// ==================== 消息管理器 ====================
116class MessageManager {
117 static async edit(msg: Api.Message, text: string, options: { parseMode?: "html" | "md", deleteAfter?: number } = {}): Promise<void> {

Callers 1

editMethod · 0.70

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected