Using RxJS 6.x WebSocketSubject client

后端 未结 1 1990
北海茫月
北海茫月 2021-01-14 10:35

I cannot figure out how to use WebSocketSubjects in rxjs v6.x

Here\'s the working HTML/JS for v5.5.6. The commented out code is my attempt

1条回答
  •  没有蜡笔的小新
    2021-01-14 11:33

    I got it working with rxjs@6.1.0. As I suspected, I was just using the version 6 syntax wrong. See working example:

    
    
    
        
        
    
    
    
    
    
    

    0 讨论(0)
提交回复
热议问题