Differentiating between connection and reconnection in actioncable.

I’ve reported this issue about a month ago, but now i’m looking for a workaround so that i can differentiate between connection and reconnection between javascript actioncable package and rails gem.

Is that possible ?