Skip to main content

Interface: InitializationProcess

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Initialization/InitializationProcess.ts:6

A G3000 initialization process.

Properties

id

readonly id: string

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Initialization/InitializationProcess.ts:8

The ID of this process.


resetMessage

readonly resetMessage: string

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Initialization/InitializationProcess.ts:14

The message to display to the user when attempting to reset this process.


tasks

readonly tasks: readonly InitializationTask[]

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Initialization/InitializationProcess.ts:11

An ordered array of tasks that comprise this process.

Methods

onReset()

onReset(): Promise<void>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Initialization/InitializationProcess.ts:21

A method that is called when this process is reset.

Returns

Promise<void>

A Promise which is fulfilled when all operations that need to be carried out as part of the reset are completed.