Created
September 21, 2018 01:23
-
-
Save joshuataylor/721954bd410df4bb302c53667f0ea580 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
foreach (var item in items) | |
{ | |
var message = new Foobar(); | |
tasks.Add(context.Publish(message)); | |
} | |
await Task.WhenAll(tasks).ConfigureAwait(false); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment