4 ms·
A pattern that i am finding a lot is using await on a single call async Task, so it pauses the current thread waiting for that single call to finish in another
by jorgeleo 11y ago
A pattern that i am finding a lot is using await on a single call async Task, so it pauses the current thread waiting for that single call to finish in another thread.
It looks like multithreaded code, it taste like using multithread technics, but it is sequential code with thread jumping.
The only benefit that I have found is that in winforms apps the call to back end does not block the ui thread. Otherwise it is just silly.
On the code revolutions, lambda expressions and half implemented linq. I call it half implemented because I am missing the ability to yield return to 2 separate IEnumerables from inside the same method, think results and errors.