We recommend using socketcluster-client integration tests as documentation: github.com/SocketCluster/…
SC client and server have over 5000 of lines of test coverage... Probably more lines of test code than actual project code. #Node#javascript
We've made an update to SocketCluster client and server to fix a bug in an undocumented but potentially very useful feature.
You can call '.once(timeout)' on any event stream to make it throw an error on timeout:
#javascript#Node
SocketCluster's focus on fault-tolerance is key to allowing you to write pub/sub logic using declarative syntax. There is no need to handle every possible error with try-catch, or to imperatively reconnect and re-subscribe to channels on network failure. socketcluster.io