ng2-cable
ng2-cable copied to clipboard
Connect your Angular(2/4)/ionic(2/3) application with Rails ActionCable
I am trying to configure my action cable in rails with angular 2+ . So I used the ng2cable to subscribe to the backend as follows: _Angular component Code_ ```...
Browser tab freezes when the subscriber receive too many notifications every millisecond.
I have a question about how the code works, say I have 2 channels, `NotificationsChannel` and `ChatsChannel`, then I would go and do: ``` this.cable.subscribe(url, 'NotificationsChannel'); this.cable.subscribe(url, ChatsChannel'); ``` since...
I see that you have a method called `.broadcast('event', object)`. I thought it was used for broadcast data from client to server. But seemly not. It's just send to client...
Rxjs has now a new version, and subject is now imported directly from 'rxjs' Operators, like map, filter, switch map can be imported from 'rxjs/operator' Problem is: even fixing imports,...