Classes
Methods
(async) acquire()
Acquire the lock if available, otherwise wait until it is released
and then take the lock and return.
locked() → {boolean}
Indicates the internal locked state of the Lock.
Returns:
- Type
- boolean
release()
Release this lock and wake up and calls to
acquire
.