The actor programming model is a concurrent programming technique that provides a powerful mechanism to encapsulate several concurrency features. The key principles of the actor model are as follows:
MailboxProcessor class is the implementation of the actor model in
FSharp.Core, and it is essentially a dedicated message queue running its own thread. We can use the API for
Receive messages synchronously or asynchronously. We can also consider it an agent with an internal state machine. Let's take look ...