Edytuj

Udostępnij za pośrednictwem


ResponseCompletionSource<TResult>.AsValueTask Method

Definition

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>.

Applies to