You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this._logger.log(LogLevel.Warning,"The page is being frozen, this will likely lead to the connection being closed and messages being lost. For more information see the docs at https://docs.microsoft.com/aspnet/core/signalr/javascript-client#bsleep");
71
+
};
72
+
68
73
/** The server timeout in milliseconds.
69
74
*
70
75
* If this timeout elapses without receiving any messages from the server, the connection will be terminated with an error.
@@ -174,6 +179,13 @@ export class HubConnection {
174
179
try{
175
180
awaitthis._startInternal();
176
181
182
+
if(Platform.isBrowser){
183
+
if(document){
184
+
// Log when the browser freezes the tab so users know why their connection unexpectedly stopped working
0 commit comments