4 lines
311 B
TypeScript
Raw Permalink Normal View History

2025-06-21 23:30:33 +03:00
import { getMutex } from './getMutex';
export declare const getSynchronize: (mutex?: ReturnType<typeof getMutex>) => <T>(action: () => T, lockId?: keyof any) => T extends Promise<unknown> ? T : Promise<T>;
export type Synchronize = ReturnType<typeof getSynchronize>;
//# sourceMappingURL=getSynchronize.d.ts.map