[Home] Namespace Microsoft.FSharp.Control.Mailboxes


Type Definitions

TypeDescription
type MailboxProcessor A MailboxProcessor is an asynchronous computation that includes the ability to read from a single dedicated channel (i.e. a single dedicated message queue). Anyone can send messages to a MailboxProcessor by using the Post method. A MailboxProcessor enters a state where it waits for the next message by calling its own Receive or TryReceive method. A MailboxProcessor can scan through all available messages using its own Scan or TryScan method, by using a function that selects an asynchronous computation to run based on a scan of the message queue. A MailboxProcessor generally needs to use one or more of its own Receive, TryReceive, Scan or TryScan methods. It also often typically has to allow other asynchronous computations to send messages back to the MailboxProcessor. As a result the creation functions are given a reference to the MailboxProcessor itself.

See Also

Namespaces


Documentation for assembly FSharp.Core, version 1.9.4.19, generated using F# version 1.9.4.19