Skip to content

Commit 983c0ab

Browse files
committed
invoke.mdx: states transition synchronously
1 parent 0009afa commit 983c0ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/invoke.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ For further examples, see:
121121

122122
## How are Actors Different From Actions?
123123

124-
Actions are “fire-and-forget”; as soon as their execution starts, the state machine running the actions forgets about them. If you specify an action as `async`, **the action won’t be awaited before moving to the next state**. Remember: transitions are always _zero-time_.
124+
Actions are “fire-and-forget”; as soon as their execution starts, the state machine running the actions forgets about them. If you specify an action as `async`, **the action won’t be awaited before moving to the next state**. Remember: transitions are always _zero-time_ (states transition synchronously).
125125

126126
Invoked actors can do asynchronous work _and_ communicate with their parent machine actor. They they can send and receive events. Invoked machine actors can even invoke or spawn their own child actors.
127127

0 commit comments

Comments
 (0)