🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@adorsys-gis/event-bus

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adorsys-gis/event-bus

An event-driven library for managing custom events in JavaScript applications. Built on eventemitter3, it supports both synchronous and asynchronous event handling and ensures deep cloning of emitted data to prevent unintended mutations.

latest
npmnpm
Version
1.0.5
Version published
Weekly downloads
75
525%
Maintainers
2
Weekly downloads
 
Created
Source

EventBus Library

This library implements an EventBus for managing event-driven systems. It is built using eventemitter3, allowing subscribers to listen for and emit events with both synchronous and asynchronous handling. Additionally, the library includes deep-cloning capabilities for transferred objects.

Features

Event-driven system: Subscribe to and emit custom events. Asynchronous event handling: Supports async operations and provides robust event lifecycle management. Deep cloning: Ensures that emitted data structures are deeply cloned, preventing mutations in subscribers.

Keywords

event-bus

FAQs

Package last updated on 15 Oct 2024

Did you know?

Socket

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