UNPKG

infobip-rtc

Version:

Infobip RTC JavaScript SDK - Infobip WebRTC API Implementation

10 lines (9 loc) 230 B
export interface AcquiredLock { release(): void; } export declare class AsyncLock { private taskQueue; private active; acquireLock(): Promise<AcquiredLock>; withLock<T>(action: () => Promise<T>): Promise<T>; }