question about Task.Run generated by the template
lust4life opened this issue · comments
var result = Task.Run(() => <#= method.Name #>Async(<#=parameterNameList#>)).Result;
I am just wondering why use a Task.Run method wrapper an async method.
thank you for explanation.
Honestly, I really don't know how that got there :) the .Result
should be sufficient
thx :D