taskcluster / taskcluster-client-web

A Taskcluster client library for the browser
Mozilla Public License 2.0
3 stars 8 forks source link

Automatically attempt to reconnect websockets #15

Closed eliperelman closed 6 years ago

eliperelman commented 6 years ago

Does the reconnecting logic (while basic) seem sane to you two?

eliperelman commented 6 years ago

Upon connecting, start an interval to check if the websocket exists and has been closed. If so, reconnect the websocket.

eliperelman commented 6 years ago

I've updated the commit with some content about the WebListener. Give it a read and if everything seems kosher with you I'll merge.

eliperelman commented 6 years ago

Released in v4.0.0.