In web client bind method allows subscribing to specific event which isn't possible here. Also there is no way to add event listeners after channel has been subscribed. This makes impossible to subscribe to a channel events later point of time.
I'm proposing 2 changes:
Add bind like functionality so that my component can listen to events it is interested in.
Allow adding event listeners after channel has been subscribed so that components can subscribe to events when it is mounted.
In web client
bind
method allows subscribing to specific event which isn't possible here. Also there is no way to add event listeners after channel has been subscribed. This makes impossible to subscribe to a channel events later point of time.I'm proposing 2 changes:
bind
like functionality so that my component can listen to events it is interested in.