src/NAsync/SimpleTaskFactory.cs
/// <summary>
/// Queues the specified work to run on the ThreadPool and returns a proxy for the
/// Task returned by <paramref name="function"/>.
/// </summary>
/// <param name="function">The work to execute asynchronously</param>
/// <returns>A Task that represents a proxy for the Task 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 returned by .
Queues the specified work to run on the ThreadPool and returns a proxy for the Task returned by .
[NotNull]
        public static Task Run([NotNull] Func<Task> function)
        {
            return Run(function, CancellationToken.None);
        }
[ NotNull ] public static Task Run ( [ NotNull ] Func < Task > function ) { return Run ( function , CancellationToken . None ) ; }
Queues the specified work to run on the ThreadPool and returns a proxy for the
Task returned by .
Queues the specified work to run on the ThreadPool and returns a proxy for the Task returned by .
A Task that represents a proxy for the Task returned by .
A Task that represents a proxy for the Task returned by .
The  parameter was null.
The parameter was null .
Func<Task>
[NotNull]
<not_specific>
function
<not_specific>
The work to execute asynchronously
The work to execute asynchronously