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
// connectionStarted is tracked independently from connectionState, so we can check if the
@@ -68,7 +67,7 @@ export class HubConnection {
68
67
69
68
private_freezeEventListener=()=>
70
69
{
71
-
this._logger.log(LogLevel.Warning,"The page is being frozen, this will likely lead to the connection being closed and messages being lost.");
70
+
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#browser-sleeping-tab");
72
71
};
73
72
74
73
/** The server timeout in milliseconds.
@@ -182,23 +181,9 @@ export class HubConnection {
182
181
183
182
if(Platform.isBrowser){
184
183
if(document){
184
+
// Log when the browser freezes the tab so users know why their connection unexpectedly stopped working
0 commit comments