mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
9 lines
232 B
TypeScript
9 lines
232 B
TypeScript
//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("msg.argv", msg.argv);
|
|
});
|
|
|
|
V8Worker2.print("Hello");
|