mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
refactor(deno): remove concept of bin & json ops (#10145)
This commit is contained in:
parent
a20504642d
commit
46b1c653c0
76 changed files with 534 additions and 1080 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue