JavaScript
Handling Events
The @simplito/privmx-webendpoint/extra package provides utilities for efficiently managing event subscriptions. These utilities simplify event handling, ensuring your application remains reactive and responsive.
EventManager Features
With EventManager, you can:
- Start an event loop to listen for incoming events.
- Create scoped event managers for specific Tools (e.g., Threads, Stores, Inboxes, connections).
- Dynamically subscribe and unsubscribe from events.
Usage Examples
The example below demonstrates how to use the EventManager for Thread events.
For more information regarding Thread-related events please visit Threads docs.
We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.
PrivMX Endpoint Web v2.7
This package is not up to date with the core documentation. Some of the features you've seen described in other parts of the documentation might not be mentioned here. Those changes do not influence compatibility, however