Bewerken

Delen via


ValueTaskAwaiter<TResult>.OnCompleted(Action) Method

Definition

Schedules the continuation action for this ValueTask<TResult>.

public:
 virtual void OnCompleted(Action ^ continuation);
public void OnCompleted (Action continuation);
abstract member OnCompleted : Action -> unit
override this.OnCompleted : Action -> unit
Public Sub OnCompleted (continuation As Action)

Parameters

continuation
Action

The action to perform when the wait operation completes.

Implements

Applies to