blob: 9071c2fcd7112e7cfc57d3d1234a0a547839dfa7 (
plain)
1
2
3
4
5
6
7
8
9
10
|
import * as ts from "typescript";
import { main as pb } from "./msg.pb"
V8Worker2.recv((ab: ArrayBuffer) {
let msg = pb.Msg.decode(new Uint8Array(ab));
V8Worker2.print("Got array buffer", ab.byteLength);
V8Worker2.print("msg.argv", msg.argv);
});
V8Worker2.print("Hello");
|