src/NAsync/SimpleTaskFactory.cs
/// <summary>
/// Queues the specified work to run on the ThreadPool and returns a proxy for the
/// Task(TResult) returned by <paramref name="function"/>.
/// </summary>
/// <typeparam name="TResult">The type of the result returned by the proxy Task.</typeparam>
/// <param name="function">The work to execute asynchronously</param>
/// <returns>A Task(TResult) that represents a proxy for the Task(TResult) returned by <paramref name="function"/>.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// The <paramref name="function"/> parameter was null.
/// </exception>
Queues the specified work to run on the ThreadPool and returns a proxy for the
Task(TResult) returned by .
Queues the specified work to run on the ThreadPool and returns a proxy for the Task ( TResult ) returned by .
[NotNull]
        public static Task<TResult> Run<TResult>([NotNull] Func<Task<TResult>> function)
        {
            return Run(function, CancellationToken.None);
        }
[ NotNull ] public static Task < TResult > Run < TResult > ( [ NotNull ] Func < Task < TResult > > function ) { return Run ( function , CancellationToken . None ) ; }
Queues the specified work to run on the ThreadPool and returns a proxy for the
Task(TResult) returned by .
Queues the specified work to run on the ThreadPool and returns a proxy for the Task ( TResult ) returned by .
A Task(TResult) that represents a proxy for the Task(TResult) returned by .
A Task ( TResult ) that represents a proxy for the Task ( TResult ) returned by .
The  parameter was null.
The parameter was null .
Func<Task<TResult>>
[NotNull]
function
The work to execute asynchronously
The work to execute asynchronously
typeparam
The type of the result returned by the proxy Task.
The type of the result returned by the proxy Task .