ValueTaskCompletionSource<T>
public class ValueTaskCompletionSource<T> : ManualResetCompletionSource, IValueTaskSource<T>, IValueTaskSource, ISupplier<TimeSpan, CancellationToken, ValueTask>, ISupplier<TimeSpan, CancellationToken, ValueTask<T>>
Represents the producer side of ValueTask<T>.
Initializes a new completion source.
public TaskCompletionSource<T> CreateLinkedTaskCompletionSource(object userData, TimeSpan timeout, CancellationToken token)
Creates a linked TaskCompletionSource<T> that can be used cooperatively to
complete the task.
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 unsuccessfully.
Attempts to complete the task unsuccessfully.
Attempts to complete the task sucessfully.
Attempts to complete the task sucessfully.
Attempts to complete the task sucessfully.
Attempts to complete the task sucessfully.