by mcochrane · 8y ago · 0 comments
Thinking that promises are callbacks because .then() takes a function suggests misunderstanding.
await thing()
console.log(‘Thing done’)
Also you could attach multiple callbacks to the same Promise at any point, even long after the promise fulfilled.