mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
82a2f206dc
EventSources will wait for 1 tick before 'opening'. There is always the chance that the EventSource is '.close()'ed before that tick. We therefore check the 'readyState' before opening the EventSource