Stretching Async/Await With Lambdas
-
Can you figure out the difference resulting from the execution of the following code snippets? TIP: one performs requests concurrently and the other sequentially. Which one and why?
-
Is there any difference if you replace the arrays pipeline (i.e.
map().reduce()
) that performs eagerly with an iterable pipeline (such as C# Linq) performing lazily? Is it still sequential or still concurrent? Why?
If you are a Java, Kotlin, C# or JavaScript developer you may find more use cases and foundations in the article of CCISEL engineer Miguel Gamboa about “Stretching Async/Await With Lambdas”
|
|