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.
import { TimeSpan } from "@daiso-tech/core/time-span";
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?: NamespaceOptionalserde?: OneOrMore<ISerderRegister>OptionalserdeTransformerName?: string
IMPORT_PATH:
"@daiso-tech/core/semaphore"