What is the difference between calling task-returning method directly and warping the task-returning method with Task.Run?

前端 未结 0 1388
盖世英雄少女心
盖世英雄少女心 2020-12-21 07:01

I know that Task.Run will get a thread from threadpool to run that method. I am referring to the https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/Async

相关标签:
回答
  • 消灭零回复
提交回复
热议问题