refactor(deno): remove concept of bin & json ops (#10145)

This commit is contained in:
Aaron O'Mullan 2021-04-12 21:55:05 +02:00 committed by GitHub
parent a20504642d
commit 46b1c653c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
76 changed files with 534 additions and 1080 deletions

View file

@ -129,15 +129,15 @@ delete Object.prototype.__proto__;
}
function opPostMessage(data) {
core.jsonOpSync("op_worker_post_message", null, data);
core.opSync("op_worker_post_message", null, data);
}
function opCloseWorker() {
core.jsonOpSync("op_worker_close");
core.opSync("op_worker_close");
}
function opMainModule() {
return core.jsonOpSync("op_main_module");
return core.opSync("op_main_module");
}
function runtimeStart(runtimeOptions, source) {