bugfix/socket-reconnetion #29
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "BordedDev/snek:bugfix/socket-reconnetion"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This should be a more stable reconnecting websocket - it's based on the code that runs ABot, so there might still have an issue but ABot has been stable since removing the debounce
this also adds the app instance to the window
693e5f49bc
toc9c070c497
@ -369,3 +233,4 @@ export class App extends EventHandler {
}
export const app = new App();
window.app = app;
Because it's a module we no longer leak the app instance, this makes it easier to debug
@ -0,0 +130,4 @@
};
const me = this
return new Promise((resolve) => {
me.addEventListener(call.callId, data => resolve(data));
STill me vars, but out of scope .