Twitter | Search | |
David Walsh 🦊
How to Detect an Async Function
JavaScript async/await has changed the landscape of how we code. We’re no longer stuck in callback or then hell, and our code can feel more “top down” again. Async functions require the following...
David Walsh 🦊 David Walsh 🦊 @davidwalshblog
Reply Retweet Like More
Timothy Leverett Apr 29
Replying to @davidwalshblog
I mean, you _can_ do that, but I would strongly discourage it as you'll miss regular functions that return promises which are compatible.
Reply Retweet Like
Damian Sosnowski Apr 29
Replying to @davidwalshblog
Tricky question: Why should I do that?
Reply Retweet Like