FSharp.Control Namespace
Library functionality for asynchronous programming, events and agents. See also Asynchronous Programming, Events and Lazy Expressions in the F# Language Guide.
Contents
- Async Programming
- Events and Observables
- Lazy Computation
- Agents
- Async Internals
- Other namespace members
Async Programming
Type/Module | Description |
Holds static members for creating and manipulating asynchronous computations. |
|
An asynchronous computation, which, when run, will eventually produce a value of type T, or else raises an exception. |
|
The type of the |
|
A module of extension members providing asynchronous operations for some basic CLI types related to concurrency and I/O. |
|
A module of extension members providing asynchronous operations for some basic Web operations. |
Events and Observables
Type/Module | Description |
Event implementations for an arbitrary type of delegate. |
|
Contains operations for working with values of type IEvent. |
|
Event implementations for the IEvent<_> type. |
|
Event implementations for a delegate types following the standard .NET Framework convention of a first 'sender' argument. |
|
A delegate type associated with the F# event type |
|
First class event values for arbitrary delegate types. |
|
First-class listening points (i.e. objects that permit you to register a callback activated when the event is triggered). |
|
First class event values for CLI events conforming to CLI Framework standards. |
|
Contains operations for working with first class event and other observable objects. |
Lazy Computation
Modules | Description |
Extensions related to Lazy values. |
Agents
Type | Description |
A handle to a capability to reply to a PostAndReply message. |
|
A message-processing agent which executes an asynchronous computation. |
Async Internals
Type/Module | Description |
The F# compiler emits references to this type to implement F# async expressions. |
|
Entry points for generated code |
|
The F# compiler emits references to this type to implement F# async expressions. |
Other namespace members
Type/Module | Description |
Contains methods to build tasks using the F# computation expression syntax |
|
Contains the `task` computation expression builder. |
|
Contains methods to build tasks using the F# computation expression syntax |
|
Contains methods to build tasks using the F# computation expression syntax |
|
A special compiler-recognised delegate type for specifying blocks of task code with access to the state machine. |
|
Represents the runtime continuation of a task state machine created dynamically |
|
This is used by the compiler as a template for creating state machine structs |
|
The extra data stored in ResumableStateMachine for tasks |