Skip to content

Instantly share code, notes, and snippets.

@biac
Created Dec 6, 2011
Embed
What would you like to do?
FeedReader: 並列処理の実装に挑戦(失敗!)
public async Task<IList<FeedData>> ReadAsync(string[] feedUrlStrings) {
List<FeedData> result = new List<FeedData>(feedUrlStrings.Length);
foreach (string url in feedUrlStrings) {
result.Add(await this.ReadAsync(url));
}
return result;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment