dispatch<T extends JState> abstract method

Future<void> dispatch<T extends JState>(
  1. JIntent<T> intent,
  2. JController<T> controller
)

Dispatches the given intent to the provided controller.

The intent represents an action or event that can modify the controller's state. The implementation should ensure the intent is invoked appropriately.

Implementation

Future<void> dispatch<T extends JState>(
  JIntent<T> intent,
  JController<T> controller,
);