MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / postMessage

Method postMessage

examples/io/streams/wpt/test.js:29–33  ·  view source on GitHub ↗
(buffer, array)

Source from the content-addressed store, hash-verified

27 constructor() {
28 this.port1 = {
29 postMessage(buffer, array) {
30 if (buffer instanceof ArrayBuffer)
31 return buffer.transfer();
32 debugger
33 }
34 }
35 }
36}

Callers

nothing calls this directly

Calls 1

transferMethod · 0.80

Tested by

no test coverage detected