TYPE

ValueTask<T>

An awaitable value that can wrap an immediate result or asynchronous work.

Formal Syntax & Structure

csharp syntaxcsharp
ValueTask<T>

Working Example

Example Snippetcsharp
// Documentary fragment; see lesson for context and imports.new ValueTask<int>(6)
C# & .NET Reference