SocketCluster / socketcluster-client

JavaScript client for SocketCluster
MIT License
291 stars 92 forks source link

Create Multiple watcher in single channel with different name #93

Open Rahulkukadiya opened 6 years ago

Rahulkukadiya commented 6 years ago
const channel = this.$socket.subscribe('workspace-' + workspace.id)
              channel.unwatch()
              channel.watch(data => {
                this.messageWatcher(data)
              })

how can i set multiple watcher with name in vue js?>