* Sets a state function for the timer to call every interval. * @param handler Event handler. */
| 152 | * @param handler Event handler. |
| 153 | */ |
| 154 | void Timer::onTimer(StateHandler handler) |
| 155 | { |
| 156 | _state = handler; |
| 157 | } |
| 158 | |
| 159 | /** |
| 160 | * Sets a surface function for the timer to call every interval. |
no outgoing calls
no test coverage detected