Actions
Actions
Actions are fire-and-forget functions we can run during the entry, exit, and state transitions of our machine states. We will create a simple action to update our context, add it to the machine editor, and then view the result in our development environment.