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

primus-emit with substream #3

Closed
siddo420 opened this issue Dec 14, 2015 · 4 comments
Closed

primus-emit with substream #3

siddo420 opened this issue Dec 14, 2015 · 4 comments

Comments

@siddo420
Copy link

I have both primus-emit and substream added and primus-emit seems to work fine.

However, substreams do not seem to emit or receive events to/from client/server.

Is this even possible? Please let me know.

@lpinca
Copy link
Member

lpinca commented Dec 14, 2015

Yes, IIRC substream has not been built with emit in mind becuase at the time primus-emit did not exist.

@siddo420
Copy link
Author

Can this be built into substream easily?

Any plans to do so in hte near future?

@lpinca
Copy link
Member

lpinca commented Dec 14, 2015

I think it can be done but I don't have an ETA.

@lpinca
Copy link
Member

lpinca commented Dec 14, 2015

@siddo420 take a look at this test. I understand that it's not the cleanest solution but it's a possible workaround.

Please reopen this issue in the substream repo as this is not an issue with primus-emit.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants