From ef287cb913679fdfafa587bb397965908ca674e7 Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Thu, 23 Mar 2023 15:47:14 -0400 Subject: [PATCH] docs: add link to mastering js async await converter --- docs/migrating_to_7.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/migrating_to_7.md b/docs/migrating_to_7.md index 114e6c2c7ac..35a8c07d337 100644 --- a/docs/migrating_to_7.md +++ b/docs/migrating_to_7.md @@ -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