Optional
createSlotId?: Invokable<[], string>You can pass your slot id generator function.
Optional
defaultBlockingInterval?: ITimeSpanThe default refresh time used in the ISemaphore
acquireBlocking
and runBlocking
methods.
Optional
defaultBlockingTime?: ITimeSpanThe default refresh time used in the ISemaphore
acquireBlocking
and runBlocking
methods.
Optional
defaultRefreshTime?: ITimeSpanThe default refresh time used in the ISemaphore
referesh
method.
TimeSpan.fromMinutes(5);
Optional
defaultTtl?: ITimeSpan | nullYou can decide the default ttl value for ISemaphore
expiration. If null is passed then no ttl will be used by default.
Optional
eventBus?: IEventBusOptional
lazyPromiseFactory?: Factory<AsyncLazy<any>, LazyPromise<any>>You can pass a Factory
of LazyPromise
to configure default settings for all LazyPromise
instances used in the SemaphoreProvider
class.
Optional
namespace?: NamespaceOptional
serdeTransformerName?: string
IMPORT_PATH:
"@daiso-tech/core/semaphore"