Overview
Releases previously acquired lockboolean $Cache.ReleaseLock(key: string, token: string)
Arguments
string key
Shared lock key. Required.
string token
Lock token. Required.
Example
$Cache.Set('myint', 4); var tokenValue = $Cache.TryLock('myint'); if (tokenValue != null) { // Locked code block $Cache.ReleaseLock('myint',tokenValue1); } else { // Already locked }
Examples
$Cache.Set('myint', 4); var tokenValue = $Cache.TryLock('myint'); if (tokenValue != null) { // Locked code block $Cache.ReleaseLock('myint',tokenValue1); } else { // Already locked }