Skip to content

event-emitter 1.0.1

Install from the command line:
Learn more about npm packages
$ npm install @meese-os/event-emitter@1.0.1
Install via package.json:
"@meese-os/event-emitter": "1.0.1"

About this version

MeeseOS EventEmitter

This is a EventEmitter implementation for MeeseOS.

API

on("event-name", () => {}); // Fired every time event is emitted
once("event-name", () => {}); // Fires only once and is forgotten
off("event-name", () => {}); // Removes listener
off("event-name"); // Removes all listeners of this type
off(); // Removes all listeners

on("event-name", () => {}, { persist: true }); // Will not be removed unless forced
off("event-name", () => {}, true); // Force removal

Details


Assets

  • event-emitter-1.0.1.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all