MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / disposeAnalytics

Function disposeAnalytics

apps/local/src/analytics.ts:63–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61
62/** Flush and dispose the analytics runtime (daemon shutdown). */
63export const disposeAnalytics = async (): Promise<void> => {
64 const runtime = analyticsRuntime;
65 if (!runtime) return;
66 analyticsRuntime = null;
67 await Effect.runPromise(Effect.promise(() => runtime.dispose()).pipe(Effect.ignoreCause()));
68};

Callers 1

disposeOwnedResourcesFunction · 0.90

Calls 1

disposeMethod · 0.80

Tested by

no test coverage detected