How to pass LongRunning flag specifically to Task.Run()? highlights that it can be a little messy to get Task creation flags into the newer APIs especially using the async
pattern.
And I found this article claiming it's not a great idea with async
anyway and shouldn't be used: http://blog.i3arnon.com/2015/07/02/task-run-long-running/
My understanding is that this flag in practice will cause TPL to spin up a dedicated thread rather than stressing the threadpool but particularly if my application doesn't involve lots of parallel tasks, is it really a big deal? Can I safely omit the flag if my expected parallelism is less that the default threadpool size (whatever that is) - is the worst that happens the threadpool might be starved of threads for a few hundred milliseconds anyway?