Removes a lock from the database regardless of its owner.
The unique identifier for the lock to remove.
Removes a lock from the database only if it is currently held by the specified owner.
The unique identifier for the lock.
Returns IWriterLockData | null. The IWriterLockData data if successfully removed, otherwise null if the lock wasn't found or the owner didn't match.
Updates the expiration date of a lock if it is currently held by the specified owner.
The unique identifier for the lock.
The new date and time when the lock should expire.
Returns a number greater than or equal to 1 if the lock's expiration was updated, or 0 if the lock wasn't found or the owner didn't match.
IMPORT_PATH:
"@daiso-tech/core/shared-lock/contracts"