ClusterSingletonManagerOptionsValidator
Это содержимое пока не доступно на вашем языке.
Defined in: src/cluster/singleton/ClusterSingletonManagerOptions.ts:82
Validates resolved ClusterSingletonManagerOptionsType settings.
Lower-stakes than most validators in the repo, because the extension is
normally the only thing that builds these and it validates
StartSingletonOptions first — so this is reachable only by a caller
constructing the manager directly. Worth closing anyway: that caller gets
the same up-front OptionsError as everyone else instead of a
Cannot read properties of undefined from inside preStart.
Extends
Section titled “Extends”Type Parameters
Section titled “Type Parameters”T
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ClusterSingletonManagerOptionsValidator<
T>():ClusterSingletonManagerOptionsValidator<T>
Defined in: src/cluster/singleton/ClusterSingletonManagerOptions.ts:84
Returns
Section titled “Returns”ClusterSingletonManagerOptionsValidator<T>
Overrides
Section titled “Overrides”OptionsValidator<ClusterSingletonManagerOptionsType<T>>.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
