NatsOptionsValidator
Ce contenu n’est pas encore disponible dans votre langue.
Defined in: src/io/broker/NatsOptions.ts:65
Validates resolved NatsOptionsType settings.
Extends
Section titled “Extends”BrokerOptionsValidator<NatsOptionsType>
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new NatsOptionsValidator():
NatsOptionsValidator
Defined in: src/io/broker/NatsOptions.ts:66
Returns
Section titled “Returns”NatsOptionsValidator
Overrides
Section titled “Overrides”BrokerOptionsValidator<NatsOptionsType>.constructor
Methods
Section titled “Methods”validate()
Section titled “validate()”validate(
settings):void
Defined in: src/util/OptionsValidator.ts:75
Check the (merged) settings; throws OptionsError on the first
violation. Unset (undefined) fields always pass.
Parameters
Section titled “Parameters”settings
Section titled “settings”Partial<T>
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”BrokerOptionsValidator.validate
