Chapter 5. Advanced Concurrency Support in F#
We now have a basic understanding of F# concurrency features, including using and implementing the best practices of F# asynchronous workflow, and combining the asynchronous workflow with .NET APM, EAP, and TAP.
We have seen that Control.Async
is the basic building block of all related asynchronous workflows, in terms of using it and also carefully deciding the best practices of using a returned object, especially when we have a nice construct of Disposable pattern in the asynchronous workflow.
Know only that the asynchronous workflow features in F# are not unique, in that C#/VB already has them, and C#/VB's async
construct is actually inspired by F#. We can further harness the F# advanced asynchronous workflow implementation of MailboxProcessor
, as part of learning and leveraging the advanced concurrency support in F#.
Again, we will see that there are no silver bullets for all kinds of concurrency problems. We shall see this fact...