|
|
|
|
|
by neonsunset
997 days ago
|
|
This is not necessarily correct. Tasks can be run in a "fire-and-forget" way. Also, only synchronous prelude of the task is executed inline in .NET. The continuation will then be ran on threadpool worker thread (unless you override task scheduler and continuation context). Also, you can create multiple tasks in a method and then await their results later down the execution path when you actually need it, easily achieving concurrency. Green threads is a more limited solution focused first and foremost on solving blocking. |
|