CoordinatedStartupOptionsType
CoordinatedStartupOptionsType =
object
Defined in: src/CoordinatedStartupOptions.ts:62
Plain options-object shape of the startup graph.
Layered over actor-ts.coordinated-startup — see
readCoordinatedStartupOptionsFromConfig — and over the built-in
defaults, field by field.
Properties
Section titled “Properties”defaultPhaseTimeoutMs?
Section titled “defaultPhaseTimeoutMs?”
readonlyoptionaldefaultPhaseTimeoutMs?:number
Defined in: src/CoordinatedStartupOptions.ts:64
Budget of every phase that does not name its own, in milliseconds.
phases?
Section titled “phases?”
readonlyoptionalphases?:ReadonlyArray<PhaseDefinition>
Defined in: src/CoordinatedStartupOptions.ts:76
Phases to retime or to add. An entry named after a phase of
StartupPhases merges into it: its timeoutMs and recover
replace the seeded ones and its dependsOn is added to the seeded edge,
never a replacement — so the two canonical phases cannot be re-ordered.
Any other name declares a new phase, which must say what it runs after.
An entry is complete, so it wins over the configuration’s child for the same phase as a whole; the children for the phases it does not name still apply.
tasks?
Section titled “tasks?”
readonlyoptionaltasks?:ReadonlyArray<StartupTaskRegistration>
Defined in: src/CoordinatedStartupOptions.ts:78
The tasks the graph runs.
