Lesson 36. Asynchronous workflows

The past few units have focused almost exclusively on libraries and frameworks that work with F#. This first lesson of the unit briefly hops back to the language side of things and introduces an important language feature in F# called asynchronous workflows, which allow you to orchestrate asynchronous and multithreaded code in a manageable way. These provide ways to parallelize code more easily, allowing you to create high-performing and scalable applications. You’ll see

  • Why asynchronous programming is important
  • What async workflows are
  • A comparison of async programming in F# and C#
  • Computation expressions in general

36.1. Comparing synchronous and asynchronous models

Although there’s a decent chance that ...

Get Get Programming with F# 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.