I had been reading and saw that it is an anti pattern to use async/await in the promise constructor.
I had the following code in my current project and I wish to refactor