Skip to main content

XpmAction._isInitialised property

Flag indicating whether the action has been initialised.

Signature

protected _isInitialised: boolean;

Remarks

This flag ensures idempotent initialization and prevents redundant template evaluation when XpmAction.initialise() is called multiple times.

State transitions:

  1. Initially false after construction.
  2. Set to true after successful command substitution and evaluation.
  3. Checked at the start of XpmAction.initialise() to return early if already initialised.

This pattern allows safe repeated calls during complex initialization sequences or when actions are accessed multiple times, avoiding the computational cost of re-evaluating templates unnecessarily.


Generated via tsdoc2docusaurus 1.3.0-pre by API Extractor/Documenter 7.55.2.