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

Function setAnalyticsClient

packages/react/src/api/analytics.tsx:224–226  ·  view source on GitHub ↗
(client: AnalyticsClient | null)

Source from the content-addressed store, hash-verified

222 * non-React hosts (or tests). Pass `null` to restore the no-op default.
223 */
224export const setAnalyticsClient = (client: AnalyticsClient | null): void => {
225 currentAnalyticsClient = client;
226};
227
228/**
229 * Record one product event. Safe to call from anywhere (React handlers,

Callers 1

analytics.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected