OptionalcreateLockId?: Invokable<[], string>You can pass your lock id id generator function.
OptionaldefaultBlockingInterval?: ITimeSpanThe default refresh time used in the ILock acquireBlocking and runBlocking methods.
OptionaldefaultBlockingTime?: ITimeSpanThe default refresh time used in the ILock acquireBlocking and runBlocking methods.
OptionaldefaultRefreshTime?: ITimeSpanThe default refresh time used in the ILock referesh method.
TimeSpan.fromMinutes(5);
OptionaldefaultTtl?: ITimeSpan | nullYou can decide the default ttl value for ILock expiration. If null is passed then no ttl will be used by default.
OptionaleventBus?: IEventBusOptionalnamespace?: NamespaceOptionalserdeTransformerName?: string
IMPORT_PATH:
"@daiso-tech/core/lock"