NEOS interview question

Refactor some code that contains callbacks to use async/await