Task vs ValueTask: When Should I use ValueTask? - Brian Lagunas

added by DotNetKicks
4/19/2021 2:19:19 PM

1337 Views

In this video, I address the common what is a Task vs ValueTask question. When answering the question "When should I use a ValueTask?", you must first understand how a Task works. A Task serves multiple purposes, but at its core it's a "promise". It's an object that represents the eventual completion of some operation.


0 comments