diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-05-27 03:46:18 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-05-27 03:46:51 -0400 |
commit | a831d1e2391e67f6d6ad3284ab9858d9b8d610c1 (patch) | |
tree | 4c8c5cf44f050f1c5e8875bf24958c92139ea476 /main.ts | |
parent | ef00cf3e38b76395abe42d406c2bb06380754091 (diff) |
Implement fetch
Diffstat (limited to 'main.ts')
-rw-r--r-- | main.ts | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -7,8 +7,8 @@ import { main as pb } from "./msg.pb"; import * as runtime from "./runtime"; import * as util from "./util"; -// These have top-level functions that need to execute. import { initTimers } from "./timers"; +import { initFetch } from "./fetch"; // To control internal logging output // Set with the -debug command-line flag. @@ -32,6 +32,7 @@ dispatch.sub("start", (payload: Uint8Array) => { util.log("start", { cwd, argv, debugFlag }); initTimers(); + initFetch(); runtime.setup(mainJs, mainMap); const inputFn = argv[0]; |