Create Multiple watcher in single channel with different name

Open
#93 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
networking

Research direction

Start with the subscribe, unwatch, and watch calls shown in the issue and inspect the SocketCluster client watcher API. Determine whether a single channel can support multiple watchers with distinct names, then document or implement the supported behavior and verify that separate callbacks can be registered without replacing one another.

Written by the indexing model from the issue text.

Description

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?>

Dominant language
JavaScript
Stars
300
Forks
90
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SocketCluster/socketcluster-client

All issues in SocketCluster/socketcluster-client

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.