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

Function setAnalyticsClient

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

Source from the content-addressed store, hash-verified

182 * non-React hosts (or tests). Pass `null` to restore the no-op default.
183 */
184export const setAnalyticsClient = (client: AnalyticsClient | null): void => {
185 currentAnalyticsClient = client;
186};
187
188/**
189 * 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