delegate (1) event (3) Events (7) IObservable (1) Observable (5) Rx (6)

Snippets in category Event-driven

  • Form changing color

    Windows Forms tutorial showing how to create form with button and how to register an event handler. When the button is clicked, the form changes its background color.

    29 people like this
    Posted: 1 years ago by Tomas Petricek

  • Creating objects with events

    This snippet shows how to create objects with events in F#. It shows both simple event (to be used from F#) and a .NET compatible event with specific delegate type.

    53 people like this
    Posted: 1 years ago by Tomas Petricek

  • F# impl of SelectMany and TakeUntil from Rx

    F# implementation of SelectMany and TakeUntil (from Rx) on F# events

    13 people like this
    Posted: 1 years ago by Ankur Dhama

  • Async to IObservable

    Wraps an Async as an IObservable to allow easier consumption by other .NET languages. Many thanks to desco for his help: http://cs.hubfs.net/forums/thread/16545.aspx

    3 people like this
    Posted: 1 years ago by Ryan Riley

  • Merge two events in one event to move over a list

    Merge two events in one event to move over a list. Can be used to implement a wizard / slider mechanism

    11 people like this
    Posted: 1 years ago by Ankur Dhama

  • Disposable computation builder

    Computation builder that provides easy way of constructing IDisposable objects. It supports elegant composition of disposable objects using 'do!' which can be used for example when working with 'IObservable' type.

    27 people like this
    Posted: 1 years ago by Tomas Petricek

  • Observable.Subject

    The Subject<T> type implements both IObserver<T> and IObservable<T>. It is functionally equivalent to the type of the same name in the Reactive Extensions (Rx) library.

    13 people like this
    Posted: 1 years ago by Phillip Trelford

  • Resource cleanup event combinator

    Declares an event combinator 'Event.using' that automatically releases resources allocated by a previous event occurence. Each event occurence creates a value using a function specified by the user and automatically calls 'Dispose' when generating a new value.

    2 people like this
    Posted: 1 years ago by Tomas Petricek

  • ReplaySubject

    The ReplaySubject<T> type implements both IObserver<T> and IObservable<T>. It is functionally equivalent to the class of the same name in the Reactive Extensions (Rx) library with a replay buffer of a specified size .

    1 people like this
    Posted: 11 months ago by Phillip Trelford