Skip to content

DI Bag API / index / RuntimeOptions

Interface: RuntimeOptions ​

Defined in: acquisition-mode.ts:15

Portable facade configuration for auto acquisition stages.

See ​

https://dany-fedorov.github.io/di-bag/guides/tutorial.html#portable-mode

Properties ​

isNativePromise ​

ts
readonly isNativePromise: (this: void, candidate: unknown) => boolean;

Defined in: acquisition-mode.ts:17

Return true only for native Promises the host can observe without thenable assimilation.

Parameters ​

ParameterDescription
this-
candidate-

Ordinary services. Checked composition. Explicit ownership.