Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to emit event from primary process #10

Open
shubham1358 opened this issue Nov 10, 2023 · 1 comment
Open

Is it possible to emit event from primary process #10

shubham1358 opened this issue Nov 10, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@shubham1358
Copy link

As per socket io docs for cluster adapter https://socket.io/docs/v4/cluster-adapter io is only defined in workers, Can i emit events from master process.

@shubham1358 shubham1358 changed the title Is it possible to emit event to a room from primary process Is it possible to emit event from primary process Nov 10, 2023
@darrachequesne
Copy link
Member

Hi!

No, this is not currently possible, though that shouldn't be that hard to implement (a bit like the emitter counterpart for the other adapters).

@darrachequesne darrachequesne added the enhancement New feature or request label Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants