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
Copy file name to clipboardExpand all lines: src/Components/Web.JS/src/Boot.Server.Common.ts
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,20 @@ async function startServerCore(components: RootComponentManager<ServerComponentD
67
67
returntrue;
68
68
};
69
69
70
+
Blazor.resume=async()=>{
71
+
if(circuit.didRenderingFail()){
72
+
// We can't resume after a failure, so exit early.
73
+
returnfalse;
74
+
}
75
+
76
+
if(!(awaitcircuit.resume())){
77
+
logger.log(LogLevel.Information,'Resume attempt to the circuit was rejected by the server. This may indicate that the associated state is no longer available on the server.');
0 commit comments