© Kit Eason 2018
Kit EasonStylish F#https://doi.org/10.1007/978-1-4842-4000-7_10

10. Asynchronous and Parallel Programming

Kit Eason1 
(1)
Farnham, Surrey, UK
 

I know how hard it is to watch it go.

And all the effort that it took to get there in the first place.

And all the effort not to let the effort show.

—Everything but the Girl, Band

Ordering Pizza

In asynchronous programming, we embrace the fact that certain operations are best represented by running them separately from the main flow of logic. Instead of stopping everything while we wait for a result, we expect those separate computations to notify us when they have completed, at which point we’ll deal with their results. It’s a bit like one of those restaurants where you order, say, a ...

Get Stylish F#: Crafting Elegant Functional Code for .NET and .NET Core 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.