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

Initial publish packet for new subscribers #36

Open
beatgammit opened this issue Apr 4, 2014 · 1 comment
Open

Initial publish packet for new subscribers #36

beatgammit opened this issue Apr 4, 2014 · 1 comment

Comments

@beatgammit
Copy link
Collaborator

Often it's useful to not have to wait for the next publish before receiving data, but to receive a packet just after subscribing. This is useful if you're subscribing to settings changes or any other persistent but mutable data.

There should be a hook or a setting somewhere to configure this.

@jcelliott
Copy link
Owner

There is an alpha-stage document for something similar in the WAMP advanced spec:

https://github.com/tavendo/WAMP/blob/master/spec/advanced/event-history.md

You would just set the limit=1 to get only the last event.

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

No branches or pull requests

2 participants