Skip to content

Commit

Permalink
docs: add link to mastering js async await converter
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Mar 23, 2023
1 parent 228e853 commit ef287cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/migrating_to_7.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ They always return promises.
- `QueryCursor.prototype.next`

If you are using the above functions with callbacks, we recommend switching to async/await, or promises if async functions don't work for you.
If you need help refactoring a legacy codebase, [this tool from Mastering JS callbacks to async await](https://masteringjs.io/tutorials/tools/callback-to-async-await) using ChatGPT.

```javascript
// Before
Expand Down

0 comments on commit ef287cb

Please # to comment.