Files
NapCatQQ/.pnpm-store/v3/files/85/33ceebc70353f45e10cd50054125522d99ea3cf352c66c04872c155362d84b3d23154b96f91400295fea0eb736b8bf72ce9299e6865ae508f995f399676bc6
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

23 lines
548 B
Plaintext

export declare class TimeoutLatch {
private timeLeftMS;
private timeoutMS;
private isCancelled;
private isTimeExhausted;
private callbacks;
constructor(callback: Function, timeoutMS: number);
tick(): void;
cancel(): void;
reset(): void;
get isDone(): boolean;
}
declare class Scheduler {
private interval;
private latches;
add(latch: TimeoutLatch): void;
remove(latch: TimeoutLatch): void;
private start;
private stop;
}
export declare const getScheduler: () => Scheduler;
export {};