diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-05-14 00:31:48 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-05-14 00:31:48 -0400 |
commit | 1ad8a2e0881751e7ca642a6dde503dd7b7c3604f (patch) | |
tree | 110143a4f35556dcdf3befa8c648b79ea8c826de /main.ts | |
parent | 4db5a80ba314e584adafd0b0ea1db05d70200f6a (diff) |
Send protobuf
Diffstat (limited to 'main.ts')
-rw-r--r-- | main.ts | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,7 @@ import * as ts from "typescript"; +V8Worker2.recv((ab: ArrayBuffer) { + V8Worker2.print("Got array buffer", ab.byteLength); +}); -V8Worker2.print("Hello World"); +V8Worker2.print("Hello"); |