MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / initRuntimeAnalytics

Function initRuntimeAnalytics

packages/core/src/runtime/analytics.ts:26–28  ·  view source on GitHub ↗
(postMessage: (payload: unknown) => void)

Source from the content-addressed store, hash-verified

24 * Called once during runtime bootstrap from `init.ts`.
25 */
26export function initRuntimeAnalytics(postMessage: (payload: unknown) => void): void {
27 _postMessage = postMessage;
28}
29
30/**
31 * Emit an analytics event through the bridge.

Callers 2

analytics.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected