Open beatgammit opened 10 years ago
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.
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.