Async optimization in C# (ValueTask, Async Eliding, Task.CompletedTask)

Published: 17 November 2022
on channel: Hubert Mijalski
1,411
63

How to optimize async code? Are ValueTasks always better than Tasks? What is async eliding and what are the benefits and drawbacks?

In this video I wanted to answer all the questions listed above.

Sources:
https://devblogs.microsoft.com/dotnet...
https://blog.stephencleary.com/2016/1...

Twitter:   / kyrcooler  

00:00 ValueTask vs Task
02:23 Async optimizations
06:35 Async eliding pros & cons
10:24 Which async optimization to use?


On this page of the site you can watch the video online Async optimization in C# (ValueTask, Async Eliding, Task.CompletedTask) with a duration of hours minute second in good quality, which was uploaded by the user Hubert Mijalski 17 November 2022, share the link with friends and acquaintances, this video has already been watched 1,411 times on youtube and it was liked by 63 viewers. Enjoy your viewing!