Add new awaited keyword to allows better chaining. #6459
-
I know the Rust like .await suggestion has been rejected. But the idea of better chaining for await is still considered. I would go with a new keyword name awaited that could be written at the end instead of the begining.
could also be written like this:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Not quite the same, but I had suggested this: #4076 The team had this feedback about it:
|
Beta Was this translation helpful? Give feedback.
-
A workaround using existing feature: var result = await query.ToListAsync() switch { var x => x.GroupBy(...) }; |
Beta Was this translation helpful? Give feedback.
Not quite the same, but I had suggested this: #4076
The team had this feedback about it: