Pular para o conteúdo
Português (BR)

CoordinatedStartupOptionsValidator

Este conteúdo não está disponível em sua língua ainda.

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.

new CoordinatedStartupOptionsValidator(configuredPhases?): CoordinatedStartupOptionsValidator

Defined in: src/CoordinatedStartupOptions.ts:129

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.

CoordinatedStartupOptionsValidator

OptionsValidator<CoordinatedStartupOptionsType>.constructor

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.

Partial<T>

void

OptionsValidator.validate