CoordinatedStartupOptionsValidator
Ce contenu n’est pas encore disponible dans votre langue.
Defined in: src/CoordinatedStartupOptions.ts:122
Everything about the graph that can be judged from the options alone, so a
mistake fails ActorSystem.create rather than the startup it would break.
A phase graph that ties itself in a knot is the one thing left to the extension, which is where the graph is put together.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CoordinatedStartupOptionsValidator(
configuredPhases?):CoordinatedStartupOptionsValidator
Defined in: src/CoordinatedStartupOptions.ts:129
Parameters
Section titled “Parameters”configuredPhases?
Section titled “configuredPhases?”readonly string[] = []
the phases actor-ts.coordinated-startup.phases
names. A task and an entry’s dependsOn may name one of them too: a
phase the configuration declares is only worth declaring if a task can
run in it.
Returns
Section titled “Returns”CoordinatedStartupOptionsValidator
Overrides
Section titled “Overrides”OptionsValidator<CoordinatedStartupOptionsType>.constructor
Methods
Section titled “Methods”validate()
Section titled “validate()”validate(
settings):void
Defined in: src/util/OptionsValidator.ts:109
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
