TIL: You can await a promise with callbacks.
I was working on some code and saw the following:    await somePromise     .then(/* doing something...
Tags: javascript, todayilearned, typescript