ShardedDaemonProcessOptionsValidator
Esta página aún no está disponible en tu idioma.
Defined in: src/cluster/sharding/ShardedDaemonProcessOptions.ts:65
Validates resolved ShardedDaemonProcessOptionsType settings.
Extends
Section titled “Extends”Type Parameters
Section titled “Type Parameters”T
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ShardedDaemonProcessOptionsValidator<
T>():ShardedDaemonProcessOptionsValidator<T>
Defined in: src/cluster/sharding/ShardedDaemonProcessOptions.ts:66
Returns
Section titled “Returns”ShardedDaemonProcessOptionsValidator<T>
Overrides
Section titled “Overrides”OptionsValidator<ShardedDaemonProcessOptionsType<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
