Created
August 8, 2013 21:21
-
-
Save chaliy/6188882 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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