System.Runtime.TaskHelpers
public static Task CloseHelperAsync(this ICommunicationObject communicationObject, TimeSpan timeout)
public static Task<ValueTuple<TOut1, TOut2>> FromAsync<TIn, TOut1, TOut2>(Func<TIn, AsyncCallback, object, IAsyncResult> beginDelegate, EndWithOutDelegate<TOut2, TOut1> endDelegate, TIn arg1, object state)
public static Task<TResult> ToApm<TResult>(this Task<TResult> task, AsyncCallback callback, object state)
public static void Wait(this Task task, TimeSpan timeout, Action<Exception, TimeSpan, string> exceptionConverter, string operationType)