Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EventEmitter<T>

An event emitter used to create and fire an event or to subscribe to.

Type Parameters

  • T

Hierarchy

  • EventEmitter

Index

Constructors

Properties

Methods

Constructors

Properties

event: Event<T>

The event listeners can subscribe to

Methods

  • dispose(): void
  • fire(data: T): void