OptionallockId?: stringCustom identifier for the lock instance. Used to uniquely identify the lock holder and prevent conflicts with other lock owners. If not specified, a unique identifier will be automatically generated.
Optionalttl?: ITimeSpan | nullTime-to-live (TTL) duration for the lock.
When set, the lock will automatically expire after this duration if not refreshed.
Pass null to create a lock without expiration.
IMPORT_PATH:
"@daiso-tech/core/lock/contracts"