Skip to content

Commit

Permalink
Merge pull request #911 from thefrontside/cl/docs-better-varnames
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboyd authored Sep 24, 2024
2 parents ef3e740 + 0d58c67 commit 4982887
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/docs/async-rosetta-stone.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ value has been computed.
To use a promise:

```js
let promise = await promise;
let result = await promise;
```

To use an operation:

```js
let operation = yield* operation;
let result = yield* operation;
```

To convert from a promise to an operation, use [`call()`][call]
Expand Down

0 comments on commit 4982887

Please sign in to comment.