Skip to content

Commit

Permalink
Merge pull request #43 from statelyai/kevinmaes-patch-1
Browse files Browse the repository at this point in the history
Clean up wording about resolved promise data
  • Loading branch information
kevinmaes committed Jan 26, 2023
2 parents cb99380 + 050c50d commit 016a485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/xstate/actors/promises.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const userMachine = createMachine(
);
```

When a promise actor resolves, a `done.invoke` event is sent back to the machine with the data the on which the event resolved. The resolved data is placed under the `data` property. For example:
When a promise actor is resolved, a `done.invoke` event is sent back to the machine which includes its data, placed under the `data` property. For example:

```js
{
Expand Down

1 comment on commit 016a485

@vercel
Copy link

@vercel vercel bot commented on 016a485 Jan 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./

stately-docs.vercel.app
docs-git-main-statelyai.vercel.app
docs-statelyai.vercel.app

Please sign in to comment.