MCPcopy Create free account
hub / github.com/rilldata/rill / recover

Function recover

web-admin/src/components/errors/admin-network-errors.ts:57–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55 if (typeof window === "undefined") return () => {};
56
57 const recover = () => {
58 void recoverFromAdminNetworkError(queryClient);
59 };
60 const recoverWhenVisible = () => {
61 if (document.visibilityState !== "hidden") recover();
62 };

Callers 11

invokeMethod · 0.85
LoggingMiddlewareFunction · 0.85
doCallMethod · 0.85
TestPanicDoFunction · 0.85
CallMethod · 0.85
CompleteStreamingMethod · 0.85
SSEHandlerMethod · 0.85
recoverWhenVisibleFunction · 0.85

Calls 1

Tested by 1

TestPanicDoFunction · 0.68