다음을 통해 공유


Microsoft.FSharp.Control Namespace (F#)

This namespace contains several types that common scenarios in F# programs, including asynchronous programming, message passing, and event-based programming.

Namespace/Module Path: Microsoft.FSharp.Control

Assembly: FSharp.Core (in FSharp.Core.dll)

namespace Microsoft.FSharp.Control

Modules

Module

Description

module CommonExtensions

A module of extension members providing asynchronous operations for some basic CLI types related to concurrency and I/O.

module Event

Provides functions for managing event streams.

module LazyExtensions

Extensions related to Lazy values.

module Observable

Basic operations on first class event and other observable objects.

module WebExtensions

A module of extension members providing asynchronous operations for some basic Web operations.

Type Definitions

Type

Description

type Async<'T>

A compositional asynchronous computation, which, when run, will eventually produce a value of type T, or else raises an exception.

type Async

This static class holds members for creating and manipulating asynchronous computations.

type AsyncBuilder

The type of the async operator, used to build workflows for asynchronous computations.

type AsyncReplyChannel<'Reply>

A handle to a capability to reply to a PostAndReply message.

type DelegateEvent<'Delegate>

Event implementations for an arbitrary type of delegate.

type Event<'Delegate,'Args>

Event implementations for a delegate types following the standard .NET Framework convention of a first 'sender' argument.

type Event<'T>

Event implementations for the IEvent<_> type.

type Handler<'T>

A delegate type associated with the F# event type IEvent<_>

type IDelegateEvent<'Delegate>

First class event values for arbitrary delegate types.

type IEvent<'Delegate,'Args>

First class event values for CLI events conforming to CLI Framework standards.

type MailboxProcessor<'Msg>

A message-processing agent which executes an asynchronous computation.

Type Abbreviations

Type

Description

type IEvent<'T>

First-class listening points (i.e. objects that permit you to register a callback activated when the event is triggered).

type lazy<'T>

An abbreviation for the type of delayed computations.

type Lazy<'T>

An abbreviation for the type of delayed computations.

See Also

Other Resources

F# Core Library Reference