Langium - v4.3.0
    Preparing search index...

    Class Emitter<T>


    Copyright 2024 TypeFox GmbH This program and the accompanying materials are made available under the terms of the MIT License, which is available in the project root.


    Type Parameters

    • T
    Index

    Constructors

    Accessors

    Methods

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optional_options: EmitterOptions

      Returns Emitter<T>

    Accessors

    • get event(): Event<T>

      For the public to allow to subscribe to events from this Emitter

      Returns Event<T>

    Methods

    • Returns void

    • To be kept private to fire an event to subscribers

      Parameters

      • event: T

      Returns any