Edit

Share via


IAsyncObserver<T>.OnCompletedAsync Method

Definition

Notifies the consumer that the stream was completed.

The Task returned from this method should be completed when the consumer is done processing the stream closure.

public System.Threading.Tasks.Task OnCompletedAsync ();
abstract member OnCompletedAsync : unit -> System.Threading.Tasks.Task
Public Function OnCompletedAsync () As Task

Returns

A Task that is completed when the stream-complete operation has been accepted.

Applies to