Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Control.Event<'T> Class (F#)

Control.Event<'T> Class (F#)

Event implementations for the IEvent type.

Namespace/Module Path: Microsoft.FSharp.Control

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

type Event<'T> =
 class
  new Event : unit -> Event<'T>
  member this.Trigger : 'T -> unit
  member this.Publish :  IEvent<'T>
 end

Functions that work with events are defined in the Event module.

This type is named FSharpEvent in compiled assemblies. If you are accessing the type from a language other than F#, or through reflection, use this name.

Member

Description

new

Creates an observable object.

Member

Description

Publish

Publishes an observation as a first class value.

Trigger

Triggers an observation using the given parameters.

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

Show:
© 2015 Microsoft