The effect function to perform when the state is entered.
The effect parameters.
void or a cleanup function.
void
The effect function to perform when the state is entered.