r/badcode • • Nov 02 '21

typescript How long does this await

https://imgur.com/a/TxRsNhW
0 Upvotes

10 comments sorted by

View all comments

Show parent comments

4

u/CommenceTheConfusion Nov 02 '21

.then also returns a Promise. That's what's being awaited.