Skip to content

Instantly share code, notes, and snippets.

@chaliy
Created August 8, 2013 21:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chaliy/6188882 to your computer and use it in GitHub Desktop.
Save chaliy/6188882 to your computer and use it in GitHub Desktop.
namespace Utils
{
using System.Collections.Generic;
using System.Threading.Tasks;
public static class TaskExtensions
{
public static Task<T[]> WhenAll<T>(this IEnumerable<Task<T>> tasks)
{
return Task.WhenAll(tasks);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment