mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
7471587d29
This commit adds support for "rejectionhandled" Web Event and "rejectionHandled" Node event. ```js import process from "node:process"; process.on("rejectionHandled", (promise) => { console.log("rejectionHandled", reason, promise); }); window.addEventListener("rejectionhandled", (event) => { console.log("rejectionhandled", event.reason, event.promise); }); ``` --------- Co-authored-by: Matt Mastracci <matthew@mastracci.com> |
||
---|---|---|
.. | ||
benchmarks | ||
ops | ||
polyfills | ||
analyze.rs | ||
build.rs | ||
Cargo.toml | ||
clippy.toml | ||
errors.rs | ||
global.rs | ||
lib.rs | ||
package_json.rs | ||
path.rs | ||
polyfill.rs | ||
README.md | ||
resolution.rs |
deno_node
require
and other node related functionality for Deno.