Skip to content

Commit

Permalink
Update feature - async iterators.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ljw1004 committed Apr 27, 2016
1 parent 2c21a40 commit c58778e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/specs/feature - async iterators.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ foreach async (var x in asyncStream) { ... }
foreach (async var x in asyncStream) { ... }
foreach await (var x in asyncStream) { ... }
foreach (await var x in asyncStream) { ... }
await foreach (var x in asyncStream) { ... }
```

There'll be lots of debate over which exact syntax to use for an async-foreach. I don't know which is best. I'm inclined to write a prototype which supports *all* of them to see how they all feel in practice.
Expand Down

0 comments on commit c58778e

Please sign in to comment.