In this exercise, we’ll move those actions created with assign(...) to parameterized actions. We’ll also model a TICK event using reactive statements and setInterval, for now.
assign(...) actions to functions.running state, a TICK event should increment the context.elapsed value by the context.interval.running state respectively.