Langium - v4.0.0
    Preparing search index...

    Interface Event<T>

    Represents a typed event.

    Type Parameters

    • T
    • Parameters

      • listener: (e: T) => any

        The listener function will be called when the event happens.

      • OptionalthisArgs: any

        The 'this' which will be used when calling the event listener.

      • Optionaldisposables: Disposable[]

        An array to which a {{IDisposable}} will be added.

      Returns Disposable