ResponseCompletionSource<TResult>.AsValueTask Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns this instance as a ValueTask<TResult>.
public System.Threading.Tasks.ValueTask<TResult> AsValueTask ();
member this.AsValueTask : unit -> System.Threading.Tasks.ValueTask<'Result>
Public Function AsValueTask () As ValueTask(Of TResult)
Returns
ValueTask<TResult>
This instance, as a ValueTask<TResult>.