UNPKG

convex

Version:

Client for the Convex Cloud

7 lines 243 B
export declare class Mutex { currentlyRunning: Promise<void> | null; waiting: Array<() => Promise<void>>; runExclusive<T>(fn: () => Promise<T>): Promise<T>; private enqueueCallbackForMutex; } //# sourceMappingURL=mutex.d.ts.map