diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-07-20 20:28:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-20 20:28:19 +0200 |
commit | d53936eb7d3fe4cda8e06f7310e4c8f12702b413 (patch) | |
tree | ad4b5cf09dee34e8618096c35e58b54c0312f2e1 /core/01_core.js | |
parent | 6e350b2b7c7b027b31694875cdb423f494d1b423 (diff) |
Reland "feat: add "unhandledrejection" event support" (#15211)
Diffstat (limited to 'core/01_core.js')
-rw-r--r-- | core/01_core.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/01_core.js b/core/01_core.js index 156300327..21376b695 100644 --- a/core/01_core.js +++ b/core/01_core.js @@ -268,6 +268,10 @@ terminate: opSync.bind(null, "op_terminate"), opNames: opSync.bind(null, "op_op_names"), eventLoopHasMoreWork: opSync.bind(null, "op_event_loop_has_more_work"), + setPromiseRejectCallback: opSync.bind( + null, + "op_set_promise_reject_callback", + ), }); ObjectAssign(globalThis.__bootstrap, { core }); |