registerAction method

void registerAction(
  1. NodeFlowAction<T> action
)

Registers a single action.

Adds the action to the manager, making it available for execution. If an action with the same ID already exists, it will be replaced.

Parameters:

  • action: The action to register

Implementation

void registerAction(NodeFlowAction<T> action) {
  _actions[action.id] = action;
}