dispatch

void dispatch(

  1. Action action
)

Dispatches an action. This is the only way to trigger a state change.

Implementation

void dispatch(Action action);