Switch back to recv/send instead of pub/sub for low-level API.

This commit is contained in:
Ryan Dahl 2018-07-01 18:07:12 +02:00
parent 7fcaf7d35d
commit a33f575cda
9 changed files with 79 additions and 78 deletions

View file

@ -8,7 +8,7 @@ const window = globalEval("this");
window["denoMain"] = () => {
deno.print(`ts.version: ${ts.version}`);
const res = deno.pub("startDeno2", emptyArrayBuffer());
const res = deno.send("startDeno2", emptyArrayBuffer());
// deno.print(`after`);
const resUi8 = new Uint8Array(res);
deno.print(`before`);