I agree, I've not heard any plans as yet to change this but you're not the first person that thought .NET 5 would have this. Hopefully something they'll think about for the future.
There's a feature request already for it https://feedback.episerver.com/ideas/PRODPER-I-39
oh, async and scheduled jobs ;) btw, the infrastructure underneath is half-ready to spin-off async tasks. if you want to know more about what is going on under the hood - https://blog.tech-fellow.net/2020/12/07/episerver-scheduled-jobs-under-the-hood/
Are there any plans for introducing async
Execute
inScheduledJobBase
(or other approach for using proper async/await in scheduled jobs)?I know that there are workarounds for that using
.Result
or.GetAwaiter().GetResult()
, but going forward with .Net 5 it would be great if this part of the system was aligned.