[Home] Type Microsoft.FSharp.Control.IEvent


First-class listening points (i.e. objects that permit you to register a 'callback' activated when the event is triggered). See the module IEvent for functions to create events, and the type IDelegateEvent which extends this type.

Full Type Signature

type IEvent<'a> = interface
                    abstract member Add : ('a -> unit) -> unit
                  end

Instance Members

MemberDescription
member Add : ('a -> unit) -> unit
Connect a listener function to the event. The listener will be invoked when the event is fired.

See Also

Microsoft.FSharp.Control


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