The effect that was triggered.
The state before the transition.
The state after the transition.
A function to dispatch actions during effect handling.