❔ Quickest way to get an async function to run?
I have an async function with an await inside and I'm currently using Task.Run to start it, but there is a small delay in starting. Is there a way to make it run straight away?
5 Replies
Just... await it..?
i cant await it because its being called from a non-async function
Then make that method async as well
It's
async
all the way downThanks guys, I'll just await it and make the calling functions async
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.