<PackageReference Include="Grpc.Net.Client" Version="2.76.0" />

Grpc.Shared.CompatibilityHelpers

static class CompatibilityHelpers
namespace Grpc.Shared { internal static class CompatibilityHelpers { public static void Assert(bool condition, string message = null); public static bool IsCompletedSuccessfully(this Task task); public static bool IsCompletedSuccessfully(this ValueTask task); public static bool IsCompletedSuccessfully<T>(this ValueTask<T> task); public static int IndexOf(string s, char value, StringComparison comparisonType); public static Task<T> WaitAsync<[System.Runtime.CompilerServices.Nullable(2)] T>(this Task<T> task, CancellationToken cancellationToken); public static CancellationTokenRegistration RegisterWithCancellationTokenCallback(CancellationToken cancellationToken, Action<object, CancellationToken> callback, object state); public static Task<T> AwaitWithYieldAsync<[System.Runtime.CompilerServices.Nullable(2)] T>(Task<T> callTask); } }