Skip to content

Instantly share code, notes, and snippets.

@biac
Created December 6, 2011 09:08
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 biac/1437487 to your computer and use it in GitHub Desktop.
Save biac/1437487 to your computer and use it in GitHub Desktop.
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