zlacker

[parent] [thread] 1 comments
1. moomin+(OP)[view] [source] 2024-10-14 16:40:32
Apparently Microsoft hold a patent on “yield!”, which makes it all the more frustrating that they haven’t included it in C#.
replies(1): >>neonsu+I6
2. neonsu+I6[view] [source] 2024-10-14 17:18:25
>>moomin+(OP)
In F#, yield! is a computation expression, C#'s yield within methods that return IAsyncEnumerable<T> works more or less the same way.
[go to top]