summaryrefslogtreecommitdiff
path: root/core/ops_builtin_v8.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/ops_builtin_v8.rs')
-rw-r--r--core/ops_builtin_v8.rs22
1 files changed, 0 insertions, 22 deletions
diff --git a/core/ops_builtin_v8.rs b/core/ops_builtin_v8.rs
index 3d7b4a996..0d0da5843 100644
--- a/core/ops_builtin_v8.rs
+++ b/core/ops_builtin_v8.rs
@@ -50,28 +50,6 @@ fn op_unref_op(scope: &mut v8::HandleScope, promise_id: i32) {
}
#[op(v8)]
-fn op_set_macrotask_callback(
- scope: &mut v8::HandleScope,
- cb: serde_v8::Value,
-) -> Result<(), Error> {
- let cb = to_v8_fn(scope, cb)?;
- let state_rc = JsRuntime::state(scope);
- state_rc.borrow_mut().js_macrotask_cbs.push(cb);
- Ok(())
-}
-
-#[op(v8)]
-fn op_set_next_tick_callback(
- scope: &mut v8::HandleScope,
- cb: serde_v8::Value,
-) -> Result<(), Error> {
- let cb = to_v8_fn(scope, cb)?;
- let state_rc = JsRuntime::state(scope);
- state_rc.borrow_mut().js_nexttick_cbs.push(cb);
- Ok(())
-}
-
-#[op(v8)]
fn op_set_promise_reject_callback<'a>(
scope: &mut v8::HandleScope<'a>,
cb: serde_v8::Value,