News for hackers. Stuff that matters.
Re:Deepstream.io – Open Realtime Server by akanet on Wednesday September 21, 2016 @07:35AM (#12547200)
Do you provide a version of Firebase's onDisconnect? https://firebase.google.com/docs/reference/js/firebase.datab...

It's very hard to correctly manage distributed state without a guarantee similar to this.

Re:Deepstream.io – Open Realtime Server by wolframhempel on Wednesday September 21, 2016 @07:42AM (#12547233)
Yes, there are granular connection states and associated events. Messages are queued during connection loss. Please find more information here.

https://deepstream.io/docs/client-js/client/#connectionstate...

https://deepstream.io/docs/common/constants/#connection-stat...

Re:Deepstream.io – Open Realtime Server by akanet on Wednesday September 21, 2016 @07:44AM (#12547243)
Sorry, I should have been clearer. I don't mean "does Deepstream tell the user when it's disconnected", I mean:

Does the Deepstream client have a facility (like Firebase) to instruct the remote server to perform an action in the event the client disconnects in the future and the client is unable to get any further message to the server?

Re:Deepstream.io – Open Realtime Server by wolframhempel on Wednesday September 21, 2016 @07:46AM (#12547255)
ehm...this is not Horizon. But its a good question none the less. No, it does currently not have that facility, but it would certainly be a good addition
Re:Deepstream.io – Open Realtime Server by akanet on Wednesday September 21, 2016 @07:48AM (#12547266)
Hah, sorry, too many tabs open lately. I'll edit. Thanks for the answer.
Re:Deepstream.io – Open Realtime Server by asadlionpk on Wednesday September 21, 2016 @09:14AM (#12547824)
Since this is not built-in, it may be possible to make with deepstream's onClientDisconnect.

https://github.com/deepstreamIO/deepstream.io/issues/191

Also they seem to be working on 'presence'. https://github.com/deepstreamIO/deepstream.io/issues/118