Skip to main content

XpmActions._actionsMap property

Map of action names to their corresponding action instances.

Signature

protected readonly _actionsMap: Map<string, XpmAction | undefined>;

Remarks

This map serves as the primary action registry, populated during collection initialisation with entries for all discovered actions.

Key characteristics:

  1. Known only after XpmActions.initialise() completes.
  2. Possibly empty if there are no actions defined.
  3. Values can be undefined to indicate an action exists but hasn't been instantiated yet (lazy loading).
  4. For template actions, contains one entry per expanded combination, not the original template definition.

Actions transition from undefined to instantiated when first accessed via XpmActions.get(), implementing the lazy evaluation pattern.


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