ClusterBootstrapOptionsValidator
Este conteúdo não está disponível em sua língua ainda.
Defined in: src/cluster/ClusterBootstrapOptions.ts:277
Validates resolved ClusterBootstrapOptionsType settings.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ClusterBootstrapOptionsValidator():
ClusterBootstrapOptionsValidator
Defined in: src/cluster/ClusterBootstrapOptions.ts:278
Returns
Section titled “Returns”ClusterBootstrapOptionsValidator
Overrides
Section titled “Overrides”OptionsValidator<ClusterBootstrapOptionsType>.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
