Re:.NET Core gRPC
by akra on Wednesday September 25, 2019 @12:53AM
(#21067713)
Not quite. F# and a few other languages have had this capability for a few years now. Its effectively making the MoveNext() function on the enumerator object an async operation instead of a blocking one. This allows a foreach loop for example to wait until the next object comes without tying up the thread. Useful for things like pulling off a remote message queue, messages off a network, etc where the waiting for the next item in your "foreach" loop involves async/task based operations and you don't want to block the current thread.
[ Parent
| on HN ]
There are no comments on this comment yet.