Maximum number of concurrent readers that can hold a read lock simultaneously. This defines the semaphore limit for the reader component of the shared lock.
OptionallockId?: stringCustom identifier for this shared-lock holder. Used to uniquely identify writer ownership and reader slot ownership. If not specified, a unique identifier will be automatically generated.
Optionalttl?: ITimeSpan | nullTime-to-live (TTL) duration for the locks.
When set, locks will automatically expire after this duration if not refreshed.
Pass null to create locks without automatic expiration.
Configuration settings for creating a shared lock instance through the factory.
IMPORT_PATH:
"@daiso-tech/core/shared-lock/contracts"