diff options
author | Matt Mastracci <matthew@mastracci.com> | 2023-12-06 17:02:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-06 17:02:52 -0700 |
commit | 9314928990a6cbd0bc0abe3100872ba2682eda9a (patch) | |
tree | 462d19eeaac0974a752128ad5d8b64e1066be8af /runtime/worker.rs | |
parent | 68d356eed91731cd0c13eb946f296aa90ef4d5ac (diff) |
chore: bump deno_core and update tests (#21467)
Landing changes required for
https://github.com/denoland/deno_core/pull/359
We needed to update 99_main.js and a whole load of tests.
API changes:
- setPromiseRejectCallback becomes setUnhandledPromiseRejectionHandler.
The function is now called from eventLoopTick.
- The promiseRejectMacrotaskCallback no longer exists, as this is
automatically handled in eventLoopTick.
- ops.op_dispatch_exception now takes a second parameter: in_promise.
The preferred way to call this op is now reportUnhandledException or
reportUnhandledPromiseRejection.
Diffstat (limited to 'runtime/worker.rs')
-rw-r--r-- | runtime/worker.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/worker.rs b/runtime/worker.rs index e3e97de7e..3267bd78d 100644 --- a/runtime/worker.rs +++ b/runtime/worker.rs @@ -1,5 +1,4 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. - use std::rc::Rc; use std::sync::atomic::AtomicI32; use std::sync::atomic::Ordering::Relaxed; |