This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/@whiskeysockets/baileys/lib/Utils/make-mutex.d.ts
T

8 lines
302 B
TypeScript

export declare const makeMutex: () => {
mutex<T>(code: () => Promise<T> | T): Promise<T>;
};
export type Mutex = ReturnType<typeof makeMutex>;
export declare const makeKeyedMutex: () => {
mutex<T>(key: string, task: () => Promise<T> | T): Promise<T>;
};
//# sourceMappingURL=make-mutex.d.ts.map