IMPORT_PATH: "@daiso-tech/core/lock/contracts"
"@daiso-tech/core/lock/contracts"
The getOwner method return the current owner of the lock.
getOwner
The getRemainingTime return the reaming time as TimeSpan.
getRemainingTime
TimeSpan
Returns null if the key doesnt exist, key has no expiration and key has expired.
The isAcquired method returns true if the lock has been aquired and is unexpirable or unexpired otherwise false is returned.
isAcquired
The isExpired method returns true if the lock is expired or not acquired otherwise false is returned.
isExpired
IMPORT_PATH:
"@daiso-tech/core/lock/contracts"