Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Emitter<T>

A helper that allows to emit and listen to typed events

Type parameters

  • T

Hierarchy

  • Emitter

Index

Constructors

Properties

Methods

Constructors

constructor

  • Returns Emitter

Properties

Readonly event

event: IEvent<T>

Methods

dispose

  • dispose(): void
  • Returns void

fire

  • fire(event: T): void
  • Parameters

    • event: T

    Returns void

Generated using TypeDoc