O'Reilly logo

Functional Programming in C#: How to write better C# code by Enrico Buonanno

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 13. Working with asynchronous computations

This chapter covers

  • Using Task to represent asynchronous computations
  • Composing asynchronous operations sequentially and in parallel
  • Traversables: handling lists of elevated types
  • Combining the effects of different monads

In today’s world of distributed applications, many operations are performed asynchronously. A program may begin some operation that takes a relatively long time, such as requesting data from another application, but it won’t sit idle, waiting for that operation to complete. Instead, it will go on to do other work and resume the operation once the data has been received.

Asynchrony certainly is the bread and butter of today’s programmer. I waited until this late in the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required