<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.6.2" />

System.Threading.Tasks.Sources.IValueTaskSource<TResult>

public interface IValueTaskSource<TResult>
Represents an object that can be wrapped by a ValueTask<T>.
TResult GetResult(short token)

Gets the result of the IValueTaskSource<T>.

Gets the status of the current operation.

void OnCompleted(Action<object> continuation, object state, short token, ValueTaskSourceOnCompletedFlags flags)

Schedules the continuation action for this IValueTaskSource<T>.