UNPKG

@rxstack/async-event-dispatcher

Version:

RxStack AsyncEventDispatcher Component

26 lines (25 loc) 700 B
/** * GenericEvent is the base class for classes containing event data. */ export declare class GenericEvent { /** * Whether no further event listeners should be triggered. * * @type {boolean} */ private propagationStopped; /** * Returns whether further event listeners should be triggered. * * @returns {boolean} */ isPropagationStopped(): boolean; /** * Stops the propagation of the event to further event listeners. * * If multiple event listeners are connected to the same event, no * further event listener will be triggered once any trigger calls * stopPropagation(). */ stopPropagation(): void; }