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

Function makeControlMessage

packages/core/src/runtime/bridge.test.ts:24–28  ·  view source on GitHub ↗
(action: string, extra?: Record<string, unknown>)

Source from the content-addressed store, hash-verified

22}
23
24function makeControlMessage(action: string, extra?: Record<string, unknown>) {
25 return new MessageEvent("message", {
26 data: { source: "hf-parent", type: "control", action, ...extra },
27 });
28}
29
30describe("installRuntimeControlBridge", () => {
31 it("dispatches play command", () => {

Callers 1

bridge.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected