summaryrefslogtreecommitdiff
path: root/runtime/web_worker.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-03-05 08:19:34 -0400
committerGitHub <noreply@github.com>2023-03-05 12:19:34 +0000
commitde0d148d933520e7ee519576c83e4ca282ee9021 (patch)
treed54f8fd691691ef5df08b61d3c558273f08bcab8 /runtime/web_worker.rs
parentd4807f458e852e6a8385a852e7caf9dd4a5b54f7 (diff)
refactor(runtime): merge "spawn" into "process" (#18022)
This commit merges "runtime/js/40_spawn.js" into "runtime/js/40_process.js", and "runtime::ops::spawn" into "runtime::ops::process". It makes little sense to have them separated given that we want to factor out these APIs into a separate extension crate.
Diffstat (limited to 'runtime/web_worker.rs')
-rw-r--r--runtime/web_worker.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs
index fbf10905f..ffafbc1d3 100644
--- a/runtime/web_worker.rs
+++ b/runtime/web_worker.rs
@@ -438,8 +438,7 @@ impl WebWorker {
deno_node::init::<PermissionsContainer>(options.npm_resolver),
ops::os::init_for_worker(),
ops::permissions::init(),
- ops::process::init(),
- ops::spawn::init(),
+ ops::process::init_ops(),
ops::signal::init(),
ops::tty::init(),
deno_http::init(),