Additional functions
Run your own logic after message delivery
You can run your own arbitrary JS code before or after the onMessage gets executed.
Send your own event from anywhere in the backend code
To all users
If you specifically want to send DOMChanges, you'll need to build it:
To a specific user
TODO: A cache is used to determine if the last sent message has already been sent to the user. This allows you to call this method in intervals with duplicate events without having to worry about passing duplicate data to the user.
Last updated