ValueTask
A value type representing asynchronous work that may already have a result.
What is ValueTask in C#?
ValueTask — A value type representing asynchronous work that may already have a result.
class Cache
{
ValueTask<string> ReadAsync()
{
return ValueTask.FromResult("Ready");
}
}
Level: Master · More C# terms at this level
Updated