- Consolidated duplicate UndoManagers to single instance - Fixed connection promise to only resolve on 'connected' status - Fixed WebSocketProvider import (WebsocketProvider) - Added proper doc.destroy() cleanup - Renamed isPresenceInitialized property to avoid conflict Co-Authored-By: Paperclip <noreply@paperclip.ing>
12 lines
348 B
TypeScript
12 lines
348 B
TypeScript
declare class ProcessLocking {
|
|
static instance: undefined | ProcessLocking;
|
|
private locked;
|
|
static getInstance(): ProcessLocking;
|
|
private addToLocked;
|
|
isLocked: (key: string) => boolean;
|
|
lock: (key: string) => Promise<void>;
|
|
unlock: (key: string) => void;
|
|
}
|
|
export default function getLock(): ProcessLocking;
|
|
export {};
|