@juzi/wechaty-puppet-whatsapp
Version:
Wechaty Puppet for WhatsApp
11 lines • 361 B
TypeScript
export declare class RequestPool {
private static _instance?;
private poolMap;
private constructor();
static get Instance(): RequestPool;
hasRequest(id: string): boolean;
pushRequest(id: string, timeout?: number): Promise<void>;
resolveRequest(id: string): boolean;
clearPool(): void;
}
//# sourceMappingURL=request-pool.d.ts.map