ScatterGatherOptionsValidator
此内容尚不支持你的语言。
Defined in: src/ScatterGatherOptions.ts:84
Validates resolved ScatterGatherOptionsType settings.
timeoutMs is optional — unset means the built-in default — but a
present value has to be a positive finite number: 0 disables
AskResponseRef’s timer entirely, which would leave every scatter that
loses all its routees pending forever with the caller none the wiser.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ScatterGatherOptionsValidator():
ScatterGatherOptionsValidator
Defined in: src/ScatterGatherOptions.ts:85
Returns
Section titled “Returns”ScatterGatherOptionsValidator
Overrides
Section titled “Overrides”OptionsValidator<ScatterGatherOptionsType>.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
