DI Bag API / index / EnsureServicesReadyOptions
Interface: EnsureServicesReadyOptions
Defined in: startup.ts:21
Options of Container.ensureServicesReady.
See
https://dany-fedorov.github.io/di-bag/guides/tutorial.html#make-selected-services-ready
Properties
abortSignal?
ts
readonly abortSignal?: AbortSignal;Defined in: startup.ts:23
Aborting it stops the wait and closes this container.
maxConcurrentServiceKeys?
ts
readonly maxConcurrentServiceKeys?: number;Defined in: startup.ts:27
How many entries of serviceKeys are acquired at once, in tuple order. Omitted means all at once, 1 means one after another. It does not limit the dependencies a factory reads.
totalTimeoutMs?
ts
readonly totalTimeoutMs?: number;Defined in: startup.ts:25
A finite positive deadline in milliseconds for the whole call, until every listed service is ready. It is not per service. On expiry this container is closed.