mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 12:49:10 +00:00
Add web worker JS API (#1993)
* Refactored the way worker polling is scheduled and errors are handled. * Share the worker future as a Shared
This commit is contained in:
parent
659acadf77
commit
b0a23beb8f
28 changed files with 1013 additions and 257 deletions
|
@ -18,8 +18,8 @@ import * as deno from "./deno";
|
|||
// TODO(kitsonk) remove with `--types` below
|
||||
import libDts from "gen/cli/lib/lib.deno_runtime.d.ts!string";
|
||||
|
||||
export default function denoMain(): void {
|
||||
const startResMsg = os.start();
|
||||
export default function denoMain(name?: string): void {
|
||||
const startResMsg = os.start(name);
|
||||
|
||||
setVersions(startResMsg.denoVersion()!, startResMsg.v8Version()!);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue