mirror of
https://github.com/status-im/consul.git
synced 2025-02-10 20:56:46 +00:00
You can potentially close an EventSource before its first tick by immediately setting the readyState to a non-open state. Therefore it never opens. Calling `open` will then open it. 'Open' fits better than 'reopen' when taking the above into account