diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-04-16 23:40:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-16 23:40:29 +0200 |
commit | d359789c529d3c7b5fab5471309eaa4b75fc0bfd (patch) | |
tree | d9e9d45c2d65054c382a5bea1d818ea049b832bd /cli/js/ops/worker_host.ts | |
parent | 1cd1f7de70b8ee68d2f6757f2b38a712ea1f3876 (diff) |
feat: support Deno namespace in Worker API (#4784)
Diffstat (limited to 'cli/js/ops/worker_host.ts')
-rw-r--r-- | cli/js/ops/worker_host.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/js/ops/worker_host.ts b/cli/js/ops/worker_host.ts index d483a5313..11e268152 100644 --- a/cli/js/ops/worker_host.ts +++ b/cli/js/ops/worker_host.ts @@ -6,6 +6,7 @@ export function createWorker( specifier: string, hasSourceCode: boolean, sourceCode: string, + useDenoNamespace: boolean, name?: string ): { id: number } { return sendSync("op_create_worker", { @@ -13,6 +14,7 @@ export function createWorker( hasSourceCode, sourceCode, name, + useDenoNamespace, }); } |