Created
January 21, 2019 14:52
-
-
Save robzhu/6ad96ac4987fb0f5994e02640ed463ff to your computer and use it in GitHub Desktop.
async stream
This file contains 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
await foreach (string message in GetChatMessagesAsync()) { | |
Render(message); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment