You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not recommended to use Task.Run in reusable code (e.g., libraries like this one) to spin up CPU-intensive workloads or to launch new threads. This should be done at the call site and clearly documented that the work is CPU-bound.
It is not recommended to use Task.Run in reusable code (e.g., libraries like this one) to spin up CPU-intensive workloads or to launch new threads. This should be done at the call site and clearly documented that the work is CPU-bound.
Stephen Cleary has a good article on this.
The text was updated successfully, but these errors were encountered: