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

Function setAnalyticsClient

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

Source from the content-addressed store, hash-verified

199 * non-React hosts (or tests). Pass `null` to restore the no-op default.
200 */
201export const setAnalyticsClient = (client: AnalyticsClient | null): void => {
202 currentAnalyticsClient = client;
203};
204
205/**
206 * 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