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

Provide efficient way of publish an array of events #146

Open
rickmak opened this issue Jul 10, 2017 · 0 comments
Open

Provide efficient way of publish an array of events #146

rickmak opened this issue Jul 10, 2017 · 0 comments
Labels

Comments

@rickmak
Copy link
Member

rickmak commented Jul 10, 2017

In chat plugin, we need to publish many event on one message update. In current Hub.publish method. it will connect and close the ws connection on every call. We should provide an interface which is accept an array of events and send to skygear-serve in one ws connection.

refs: https://github.com/SkygearIO/chat/pull/114/files#diff-4f571f88d938ce25629fe3c296a561deR100

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

No branches or pull requests

2 participants