The findSemaphore returns the semaphore if it exists otherwise null is returned.
The findSlots returns the semaphore slot if it exists otherwise null is returned.
The removeAllSlots removes all slots of the given semaphore.
Returns the slot expiration.
The removeSlot removes the specified slot.
Returns the slot expiration.
The updateExpiration updates the specified slot expiration as long as it is expireable and unexpired of the given semaphore.
Returns a number greater than 0 if the slot expiration was updated, otherwise returns 0.
IMPORT_PATH:
"@daiso-tech/core/shared-lock/contracts"