A helper that allows to emit and listen to typed events

Type parameters

  • T

Hierarchy

  • Emitter

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

event

event: IEvent<T>

Methods

dispose

  • dispose(): void

fire

  • fire(event?: T): void