summaryrefslogtreecommitdiff
path: root/runtime/js/40_process.js
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2021-04-12 21:55:05 +0200
committerGitHub <noreply@github.com>2021-04-12 15:55:05 -0400
commit46b1c653c0c433932908b7610f60b409af134c76 (patch)
tree00d8b59c8c4e9b90538d548ebd828d2b3f94d4fd /runtime/js/40_process.js
parenta20504642d083172f297543f9788b128e9c2e0bc (diff)
refactor(deno): remove concept of bin & json ops (#10145)
Diffstat (limited to 'runtime/js/40_process.js')
-rw-r--r--runtime/js/40_process.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/js/40_process.js b/runtime/js/40_process.js
index a93818b95..91e37701a 100644
--- a/runtime/js/40_process.js
+++ b/runtime/js/40_process.js
@@ -8,16 +8,16 @@
const { assert, pathFromURL } = window.__bootstrap.util;
function opKill(pid, signo) {
- core.jsonOpSync("op_kill", { pid, signo });
+ core.opSync("op_kill", { pid, signo });
}
function opRunStatus(rid) {
- return core.jsonOpAsync("op_run_status", rid);
+ return core.opAsync("op_run_status", rid);
}
function opRun(request) {
assert(request.cmd.length > 0);
- return core.jsonOpSync("op_run", request);
+ return core.opSync("op_run", request);
}
async function runStatus(rid) {