Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EventEmitter<T>

Type parameters

  • T

Hierarchy

  • EventEmitter

Index

Methods

Methods

emit

  • emit<E>(eventType: E, value: any): void
  • Type parameters

    • E: Extract

    Parameters

    • eventType: E
    • value: any

    Returns void

on

  • on<E>(eventType: E, callback: function): void
  • Type parameters

    • E: Extract

    Parameters

    • eventType: E
    • callback: function
        • (data: any): void
        • Parameters

          • data: any

          Returns void

    Returns void

Generated using TypeDoc