Sunday, 28 January 2018

Difference between an async function and a function that returns a Promise?

I'm confused. Does a function declared as async return an AsyncFunction or Promise? What's the difference? I thought async is just Promise underneath.

Submitted January 29, 2018 at 04:04AM by simoncpu

No comments:

Post a Comment