9 Asynchronous functional programming in F#

This chapter covers

  • Making asynchronous computations cooperate
  • Implementing asynchronous operations in a functional style
  • Extending asynchronous workflow computational expressions
  • Taming parallelism with asynchronous operations
  • Coordinating cancellation of parallel asynchronous computations

In chapter 8, I introduced asynchronous programming as Tasks executing independently from the main application thread, possibly in a separated environment or across the network on different CPUs. This method leads to parallelism, where applications can perform an inordinately high number of I/O operations on a single-core machine. This is a powerful idea in terms of program execution and data throughput speed, ...

Get Concurrency in .NET now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.