Skip to main content

EventEmitter

This class copy the behavior of Node.js EventEmitter class. It is used to provide the same interface for the browser environment.

Hierarchy

  • EventEmitter
    • EventEmitter

Index

Constructors

constructor

  • Returns EventEmitter

Methods

publicgetMaxListeners

  • getMaxListeners(): number
  • Returns number

publicsetMaxListeners