For XState v5, see the XState v5 documentation.
Learn about actions and actors in Stately Studio’s editor.
While the statechart is running, it can execute other effects called actions. Actions are “fire-and-forget effects.”
When you run a statechart, it becomes an actor: a running process that can receive and send messages, and change its behavior based on messages it receives.