UNPKG

@juspay/neurolink

Version:

Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio

15 lines (14 loc) 494 B
/** * Promise-based async mutex for serializing concurrent async operations. * No external dependencies — uses a simple FIFO queue of pending resolvers. */ export declare class AsyncMutex { /** Default timeout for lock-held operations: 30 seconds */ private static readonly DEFAULT_TIMEOUT_MS; private _locked; private _queue; isLocked(): boolean; runExclusive<T>(fn: () => Promise<T>, timeoutMs?: number): Promise<T>; private _acquire; private _release; }