JavaScript
Events
Events allow your application to dynamically respond to changes in user context instantly. These events are automatically captured when relevant changes occur. You can subscribe to them by registering event listeners.
Key Considerations
Please note the following:
- Events will only trigger for active connections.
- Events are not captured unless explicitly listened for.
- A single instance of the
eventQueueis shared across all connections.
Quick Start Guide
Start listening in the loop with listenForEvents. \
The function EventQueue.waitEvent returns a event when one is captured.
Subscribe to Tool (e.g. Thread) events:
Unsubscribe, if events no longer needed:
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