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 O’Reilly online learning.

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