You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
-
In short, async functions can either: 1) assign meaningless 'pending' promises or 'undefined' variables to synchronous flow (common gotchas) 2) extract the response body from the fulfilled promise for their own or callback processing 3) return the promise up the 'chain' to another calling async functionDWB– DWB2023年04月17日 15:57:47 +00:00Commented Apr 17, 2023 at 15:57
lang-js