@mashroom/mashroom-portal-remote-messaging-app
v2.7.1
Published
A Mashroom Portal App that can be used to test the remote messaging capabilities of the Mashroom Portal
Downloads
79
Readme
Mashroom Portal Remote Messaging App
Plugin for Mashroom Server, a Microfrontend Integration Platform.
This Mashroom Portal App can be used to test remote messaging in the Mashroom Portal. This App requires the mashroom-messaging and mashroom-websocket plugins to be installed.
Usage
If node_modules/@mashroom is configured as plugin path just add @mashroom/mashroom-portal-demo-remote-messaging as dependency.
After adding the app to a page you can send a message to another user (or another browser tab) by using the (remote) topic user/<other-username>/. And the app will automatically subscribe the topic user/<your_username>/# to receive all user messages.