Get a list of all created Sockets
Open
Nobody has claimed this yet.
enhancement
package:socket.io-client
- Dominant language
- TypeScript
- Stars
- 63.2k
- Forks
- 10.3k
- Avg merge
- 11d 20h
- Merged PRs (30d)
- 2
Description
You want to:
- request a feature
Expected behaviour
There should be a global function to get a list of all created Sockets (where socket refers back to the thing io returns and not a thing that is wrapped by a manager). This is useful if you want to take action on all of them. My guess is this list is somewhere within the lib already and just needs to be exposed.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Socket creation code and the existing list or registry mentioned in lib. Determine how a global function could expose all created Socket instances, then verify that it returns the complete set and supports acting on each socket.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- api, networking
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100