unlock #
Available since 2.9.0
Frees the locked resource, making it available again.
unlock(): Promise<void>
Returns #
Returns a promise, resolved once the mutex has been unlocked.
This method never throws.
Edit this page on Github (opens new window)