How can I display to the user when Pusher is going to reconnect?
<p>How can I display a message to the user, who is offline that says:</p>

<pre><code>Reconnecting in X seconds
</code></pre>

<p>I've seen the <a href="https://github.com/pusher/pusher-js/blob/7d4160038b5836163af2bdc23aabce6219a9c242/src/core/connection/connection_manager.ts#L189" rel="nofollow">connecting_in</a> event, but its not being fired when I disconnect my computer from the internet.</p>

<p>So, how can I display the retry interval to the user?</p>