Skip to content

Commit c322b76

Browse files
committed
actor-model.mdx: accept events, transitions
1 parent faae0d7 commit c322b76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/actor-model.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ So even for simple web apps, with small app-specific state and a few known app-s
6262
## XState
6363

6464
Actors in XState can:
65-
- **Accept messages** as [events](transitions.mdx) sent by [action creators](actions.mdx) like [`raise`](actions#raise-action) or [`sendTo`](actions#send-to-action) in a machine, or from outside via `actor.send`.
6665
- **Create more actors** within a machine using `spawn` in an [`assign`](actions.mdx#assign-action), or using the `spawnChild` action creator, (see [Spawn](spawn.mdx) for details).
6766
- **Send more messages** as events using the [`sendTo`](actions.mdx#send-to-action) action creator in a machine, or `self.send` in their own logic.
67+
- **Accept messages** as [events](transitions#event-objects) passed to their own internal logic, or for state machines as defined [transitions](transitions.mdx).
6868

6969
Actors in XState have their own [actor logic](actors.mdx#actor-logic) which they use to:
7070
- **Make local decisions**

0 commit comments

Comments
 (0)