MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / postMessage

Method postMessage

packages/message/window_message.ts:24–26  ·  view source on GitHub ↗
(message: T)

Source from the content-addressed store, hash-verified

22 constructor(private target: Window) {}
23
24 postMessage<T = any>(message: T): void {
25 this.target.postMessage(message, "*");
26 }
27}
28
29// 消息体

Callers

nothing calls this directly

Calls 1

postMessageMethod · 0.65

Tested by

no test coverage detected