DotNext by .NET Foundation and Contributors

<PackageReference Include="DotNext" Version="4.0.0-beta.7" />

 Conversion

public static class Conversion
public static DynamicTaskAwaitable AsDynamic(this Task task)

public static Task<TOutput> Convert<TInput, TOutput>(this Task<TInput> task) where TInput : TOutput

public static Task<TOutput> Convert<TInput, TOutput>(this Task<TInput> task, Converter<TInput, TOutput> converter)

public static Task<TOutput> Convert<TInput, TOutput>(this Task<TInput> task, Converter<TInput, Task<TOutput>> converter)

public static Task<T?> ToNullable<T>(this Task<T> task) where T : struct