Static
deadlockDeadlock timeout in milliseconds
Static
loggerLogger used to log errors which appears during locked calls
Static
acquireAcquires a lock for a given key
Optional
callback: (...args: any[]) => anyOptional
metadata: IMQLockMetadataItemStatic
lockedReturns true if given key is locked, false otherwise
Static
release
Class IMQLock. Implements promise-based locks.
Example