WingNews logo WingNews
top | new | best | ask | show | jobs
top | item 42604449

(no title)

bioneuralnet | 1 year ago

I've gotten around this by using the Page Visibility API - https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibi.... Close the SSE connection when the page is hidden, and re-open when it becomes visible again.

discuss

order

No comments yet.

powered by hn/api // news.ycombinator.com