In order to cleanup sessions, I need an event such as 'disconnect' that can be listened to on the server side and is passed the disconnected session as an argument. The event should trigger when a client loses connection from browser/tab close. I couldn't find any such documentation. Thanks.
This is coming in 0.4 alongside other server-side events such as the ones I asked for in issue #291.
An update - 0.4 is being cancelled, so that we can focus all dev work on one branch, the current branch.
I'm putting this into consideration for the 0.4 milestone branch.
This is good to know. I'm doing some stuff like this in prototypes.
Right so basically I'm working on something which encompasses this or at least overlaps with this feature request; I'm working on being able to 'publish' server side events. This feature would be a subset of the use case set.