Re:Asynchronous Programming in C#
by manigandham on Friday September 24, 2021 @01:25PM
(#28645371)
Yes it is. Async is avoid blocking operations, whether it's IO-bound or CPU-bound. There are plenty of cases where computation can be offloaded to async tasks (eg: keeping the UI responsive).
The official docs even give examples to clarify both scenarios: https://docs.microsoft.com/en-us/dotnet/csharp/async