logo-mfe-notification
v0.0.2
Published
This component has no template and runs like a service. It opens a websocket to the notification service using RSocket and ensures that notifications are transmitted to the clients.
Downloads
2
Readme
Logo Micro-FrontEnd Notification
This component has no template and runs like a service. It opens a websocket to the notification service using RSocket and ensures that notifications are transmitted to the clients.
Installation
Install the component:
npm i logo-mfe-notification --save
Once installed, import the component in your application:
import { createNotificationSocket } from 'logo-mfe-notification';
createNotificationSocket('userId', 'access_token').then(message => {
console.log('message: ', message)
})