The acquireReaderBlocking method acquires an slots only if the slot limit is not reached.
If the slot limit is reached, it retries every settings.interval until settings.time is reached.
Optionalsettings: SharedLockAquireBlockingSettingsReturns true if the slot limit is not reached otherwise false is returned.
The acquireReaderBlockingOrFail method acquires an slots only if the slot limit is not reached.
If the slot limit is reached, it retries every settings.interval until settings.time is reached.
Throws an error if the slot limit is reached after the given settings.time.
Optionalsettings: SharedLockAquireBlockingSettingsThe runReaderBlocking method wraps an Invokable or Task with the acquireBlocking and release method.
Optionalsettings: SharedLockAquireBlockingSettingsThe runReaderBlockingOrFail method wraps an Invokable or Task with the acquireBlockingOrFail and release method.
Optionalsettings: SharedLockAquireBlockingSettings
IMPORT_PATH:
"@daiso-tech/core/shared-lock/contracts"