The worker pings the page every 10 seconds to refresh the connection, in case there is no pending fetch request. This allows the connection to be active all the time.
However, if the connection is broken from the page side, this will still fail. I will add the message polling on the page side in a follow up PR.
Review in order of #222 #223 #224
The worker pings the page every 10 seconds to refresh the connection, in case there is no pending fetch request. This allows the connection to be active all the time.
However, if the connection is broken from the page side, this will still fail. I will add the message polling on the page side in a follow up PR.
@rpaquay