Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@lightningchart/eventer

Arction2.9kMIT1.0.2TypeScript support: included

Simple and fast event emitter.

emitter, event

readme

changelog

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased] - yyyy-mm-dd

Added

Changed

  • Upgraded development dependencies
  • Renamed Token export to TokenFactory.
    • Old duplicate export interface Token is unchanged.
  • Eventer.emit() no longer returns number of event handlers triggered.
    • Instead, an Array that contains all return values from each triggered event handler is returned.

Deprecated

Fixed

Security

[1.0.2] - 2022-09-21

Changed

  • Upgraded development dependencies

Fixed

  • Fixed event listener being called immediately when a new listener was attached to topic during event emitting for same topic.
    • This could have easily resulted in an infinite loop being created as new listeners are added to be processed last in the listener order.

[1.0.1] - 2019-08-05

Added

  • Changelog

Changed

  • Upgraded dependencies to latest released versions.
  • Updated documentation using latest TypeDoc generator.

[1.0.0] - 2019-07-04

Added

  • Eventer.