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

multiple async callbacks #29

Open
the-duke opened this issue Jul 18, 2016 · 0 comments
Open

multiple async callbacks #29

the-duke opened this issue Jul 18, 2016 · 0 comments

Comments

@the-duke
Copy link

Hallo, I would like to use primus.io in a project. But I need that a server can responed multiple chunks to a client call before the acknowledge callback is called and removes the event listener. This would be a kind of streaming api for rpc, like in dnode or grpc. I know, for this purpose, it is possible do define an event listener on the client side, which the server can call for progress information. But I don't like the coding overhead to associate these client and server functions to each other. An optional second callback function to send progress information for the initial call would be really nice!

Best regards

Thomas

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

1 participant