MCPcopy Create free account
hub / github.com/block/buzz / useDeferredStartup

Function useDeferredStartup

desktop/src/shared/hooks/useDeferredStartup.ts:57–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55 * so the deferral only happens once per app lifecycle — remounts skip the delay.
56 */
57export function useDeferredStartup(): boolean {
58 const ready = useDeferredLoad();
59 if (ready) {
60 hasCompletedStartup = true;
61 }
62 return hasCompletedStartup || ready;
63}

Callers 1

AppShellFunction · 0.90

Calls 1

useDeferredLoadFunction · 0.85

Tested by

no test coverage detected