ValueTaskCompletionSource
public class ValueTaskCompletionSource : ManualResetCompletionSource, IValueTaskSource, ISupplier<TimeSpan, CancellationToken, ValueTask>
Represents the producer side of ValueTask.
Initializes a new completion source.
Creates a fresh task linked with this source.
Called automatically when cancellation detected.
Called automatically when timeout detected.
Attempts to complete the task unsuccessfully.
Attempts to complete the task unsuccessfully.
Attempts to complete the task sucessfully.
Attempts to complete the task sucessfully.