Skip to content

Commit e6b145f

Browse files
committed
actor-model.mdx: re-word for most common use
1 parent c322b76 commit e6b145f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/actor-model.mdx

Lines changed: 2 additions & 2 deletions
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-
- **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).
66-
- **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.
6765
- **Accept messages** as [events](transitions#event-objects) passed to their own internal logic, or for state machines as defined [transitions](transitions.mdx).
66+
- **Create more actors** within a state machine using `spawn` in an [`assign`](actions.mdx#assign-action), or using the `spawnChild` action creator, (for details, see [Spawn](spawn.mdx)).
67+
- **Send more messages** as events, using `self.send` in their own logic, or [action creators](actions.mdx) like [`sendTo`](actions#send-to-action) or [`raise`](actions#raise-action) in a state machine.
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)