UNPKG

zaccl

Version:

The Zoom App Complete Connection Library, a project that handles everything required to build a zoom-integrated app.

20 lines (19 loc) 454 B
/** * Asynchronous Mutex object * @author Gabe Abrams */ declare class Mutex { private mutex; /** * Create a new mutex * @author Gabe Abrams */ constructor(); /** * Lock the mutex (resolves when the mutex has been acquired) * @author Gabe Abrams * @return function to call to release the lock */ lock(): Promise<import("async-mutex/lib/MutexInterface").default.Releaser>; } export default Mutex;