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