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

Function setAnalyticsClient

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

Source from the content-addressed store, hash-verified

205 * non-React hosts (or tests). Pass `null` to restore the no-op default.
206 */
207export const setAnalyticsClient = (client: AnalyticsClient | null): void => {
208 currentAnalyticsClient = client;
209};
210
211/**
212 * 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