OnCompleted(Action<object>, object, short, ValueTaskSourceOnCompletedFlags)
public void OnCompleted(Action<object> continuation, object state, short token, ValueTaskSourceOnCompletedFlags flags)Schedules the continuation action for this
System.Threading.Tasks.Sources.IValueTaskSource.Parameters
continuationAction<object>- The continuation to invoke when the operation has completed.
stateobject- The state object to pass to
continuationwhen it's invoked. tokenshort- An opaque value that was provided to the
System.Threading.Tasks.ValueTaskconstructor. flagsValueTaskSourceOnCompletedFlags- The flags describing the behavior of the continuation.
