Core
Framework v2.x
2

unlock #

Available since 2.9.0

Frees the locked resource, making it available again.

Copied to clipboard!
unlock(): Promise<void>

Returns #

Returns a promise, resolved once the mutex has been unlocked.

This method never throws.