@logo-mfe/notification
v0.0.9
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 { createSocket } from '@logo-mfe/notification';
createSocket('userId', 'access_token').then(message => {
console.log('message: ', message)
})