Experimental
The resolution constraint bit-flag for SkipSelf.
This function can be used to construct a bitmask for use in the dependencies array of a service. While this can be used publicly, it is mainly for use within TypeDI; it allows you to configure specific constraints for use when resolving a specific service.
const constraintBitMask = Many() | SkipSelf();
if (constraintBitMask & ResolutionConstraintFlag.Many) {
console.log('The dependency will be resolved via "getMany".');
}
Generated using TypeDoc
Resolve multiple services for this identifier via
getMany
.The constraints supported are listed in ResolutionConstraintFlag.