Socket
Socket
Sign inDemoInstall

sivent

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    sivent

Simple generic event realization


Version published
Maintainers
1
Install size
3.64 kB
Created

Readme

Source

Simple event

Fires all listeners, subscribed on emitter object.

Usage example

let sivent = new Sivent<string, number>();

sivent.add((sender, data) => {
    console.log(sender, data);
})

sivent.invoke("hi there, ", 123);

FAQs

Last updated on 05 Nov 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc