subscribe to websocket subject create multiple connections

前端 未结 0 996
有刺的猬
有刺的猬 2020-12-10 00:32

Sharing a websocket connection among multiple components duplicates the connection.

export class NotificationService {
  notification;
  destroy$ = new Subjec         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题