Async await is more of a syntactic sugar over the Promise. Async / await makes the code sequential (equivalent of then() after the promise). With promise you may still need a callback from client to return the value. With async await, its regular return statement to return the final value to client.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (1)
Async await is more of a syntactic sugar over the Promise. Async / await makes the code sequential (equivalent of then() after the promise). With promise you may still need a callback from client to return the value. With async await, its regular return statement to return the final value to client.