ManualResetCompletionSource
Represents base class for producer of value task.
Represents initial value of the completion token when constructing a new instance of the completion source.
Gets a value passed to the manual completion method.
Gets a value indicating that this source is in signaled (completed) state.
Gets the status of this source.
Invokes when this source is ready to reuse.
Resets internal state of this source.
public void OnCompleted(Action<object> continuation, object state, short token, ValueTaskSourceOnCompletedFlags flags)
Resets the state of the source.
Attempts to reset the state of this source.
Attempts to complete the task unsuccessfully.
Attempts to complete the task unsuccessfully.
Attempts to complete the task unsuccessfully.
Attempts to complete the task unsuccessfully.