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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.