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

constructor

Properties

event

event: Event<T>

The event listeners can subscribe to

Methods

dispose

  • dispose(): void

fire

  • fire(data?: T): void