public MultiStateActionBuilder<T> onActionStateChanged(
			BiConsumer<ActionState<T>, EventTrigger> biConsumer) {

		actionStateChangedCallback = biConsumer;
		return self();
	}
Sets the primary callback to be executed when this action changes its action state.

<p>
This builder will throw an {@link IllegalStateException} if one of the build methods is
called without providing this callback.

@param biConsumer the callback to execute when the selected action state is changed.
@return this builder (for chaining)
Ghidra/Framework/Docking/src/main/java/docking/action/builder/MultiStateActionBuilder.java