I don't want to (a)wait here for this promise since I don't do anything with the promise but returning it. Is this a faulty behavior or am I getting this wrong?
There is a good article that explains the difference between return, return await inside try/catch and return await outside try/catch ; there is no sense in using return await outside try/catch but they can be required in these blocks
There is a good article that explains the difference between
return,return awaitinsidetry/catchandreturn awaitoutsidetry/catch; there is no sense in usingreturn awaitoutsidetry/catchbut they can be required in these blocksthanks for the clarification.