mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 19:08:15 +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
|
@ -25,9 +25,9 @@ use std::borrow::Cow;
|
|||
use tokio::signal::unix::{signal, Signal, SignalKind};
|
||||
|
||||
pub fn init(rt: &mut deno_core::JsRuntime) {
|
||||
super::reg_json_sync(rt, "op_signal_bind", op_signal_bind);
|
||||
super::reg_json_sync(rt, "op_signal_unbind", op_signal_unbind);
|
||||
super::reg_json_async(rt, "op_signal_poll", op_signal_poll);
|
||||
super::reg_sync(rt, "op_signal_bind", op_signal_bind);
|
||||
super::reg_sync(rt, "op_signal_unbind", op_signal_unbind);
|
||||
super::reg_async(rt, "op_signal_poll", op_signal_poll);
|
||||
}
|
||||
|
||||
#[cfg(unix)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue