1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-25 16:49:18 -05:00
denoland-deno/ext
Bartek Iwańczuk 7471587d29
feat: "rejectionhandled" Web event and "rejectionHandled" Node event (#21875)
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>
2024-01-12 22:10:42 +00:00
..
broadcast_channel chore: forward v1.39.3 to main (#21915) 2024-01-12 19:13:18 +00:00
cache chore: forward v1.39.3 to main (#21915) 2024-01-12 19:13:18 +00:00
console chore: forward v1.39.3 to main (#21915) 2024-01-12 19:13:18 +00:00
cron chore: forward v1.39.3 to main (#21915) 2024-01-12 19:13:18 +00:00
crypto chore: forward v1.39.3 to main (#21915) 2024-01-12 19:13:18 +00:00
fetch chore: forward v1.39.3 to main (#21915) 2024-01-12 19:13:18 +00:00
ffi chore: forward v1.39.3 to main (#21915) 2024-01-12 19:13:18 +00:00
fs chore: forward v1.39.3 to main (#21915) 2024-01-12 19:13:18 +00:00
http chore: forward v1.39.3 to main (#21915) 2024-01-12 19:13:18 +00:00
io chore: forward v1.39.3 to main (#21915) 2024-01-12 19:13:18 +00:00
kv chore: forward v1.39.3 to main (#21915) 2024-01-12 19:13:18 +00:00
napi chore: forward v1.39.3 to main (#21915) 2024-01-12 19:13:18 +00:00
net chore: forward v1.39.3 to main (#21915) 2024-01-12 19:13:18 +00:00
node feat: "rejectionhandled" Web event and "rejectionHandled" Node event (#21875) 2024-01-12 22:10:42 +00:00
tls chore: forward v1.39.3 to main (#21915) 2024-01-12 19:13:18 +00:00
url chore: forward v1.39.3 to main (#21915) 2024-01-12 19:13:18 +00:00
web chore: forward v1.39.3 to main (#21915) 2024-01-12 19:13:18 +00:00
webgpu chore: forward v1.39.3 to main (#21915) 2024-01-12 19:13:18 +00:00
webidl chore: forward v1.39.3 to main (#21915) 2024-01-12 19:13:18 +00:00
websocket chore: forward v1.39.3 to main (#21915) 2024-01-12 19:13:18 +00:00
webstorage chore: forward v1.39.3 to main (#21915) 2024-01-12 19:13:18 +00:00