1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/main.ts
2018-05-14 01:19:23 -04:00

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");