Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 432 Bytes

notification.md

File metadata and controls

30 lines (25 loc) · 432 Bytes

Notification service

Import the module

require('@aliceo2/web-ui').NotificationService

Create an instance

new NotificationService({brokers: BROKERS, topic: TOPIC}));

Where:

  • BROKERS - list of Kafka brokers hosts as an array
  • [TOPIC] - Kafka topic for notifications

Public methods

isConfigured
send
proxyWebNotificationToWs
disconnectProxy