Search completed in 1.13 seconds.
8 results for "onrejectionhandled":
WindowEventHandlers.onrejectionhandled - Web APIs
WebAPIWindowEventHandlersonrejectionhandled
the onrejectionhandled property of the windoweventhandlers mixin is the eventhandler for processing rejectionhandled events.
...}); window.onrejectionhandled = function(event) { ...}; example window.onrejectionhandled = function(e) { console.log(e.reason); } specifications specification status comment html living standardthe definition of 'onrejectionhandled' in that specification.
Index - Web APIs
WebAPIIndex
5054 window: rejectionhandled event api, event, html dom, javascript, promise, promises, reference, window, worker, events, global, onrejectionhandled, rejectionhandled the rejectionhandled event is sent to the script's global scope (usually window but also worker) whenever a javascript promise is rejected but after the promise rejection has been handled.
... 5089 windoweventhandlers.onrejectionhandled api, event handler, html dom, javascript, promises, property, reference, windoweventhandlers, events, onrejectionhandled the onrejectionhandled property of the windoweventhandlers mixin is the eventhandler for processing rejectionhandled events.
Window - Web APIs
WebAPIWindow
window.onrejectionhandled an event handler for handled promise rejection events.
... also available through the onrejectionhandled event handler property.
HTMLBodyElement - Web APIs
WebAPIHTMLBodyElement
windoweventhandlers.onrejectionhandled an eventhandler representing the code executed when the rejectionhandled event is raised, indicating that a promise was rejected and the rejection has been handled.
Window: rejectionhandled event - Web APIs
WebAPIWindowrejectionhandled event
bubbles no cancelable no interface promiserejectionevent event handler property onrejectionhandled example you can use the rejectionhandled event to log promises that get rejected to the console, along with the reasons why they were rejected: window.addeventlistener("rejectionhandled", event => { console.log("promise rejected; reason: " + event.reason); }, false); specifications specification status comment html living standardthe definition of 'reject...
WindowEventHandlers - Web APIs
WebAPIWindowEventHandlers
windoweventhandlers.onrejectionhandled is an eventhandler representing the code to be called when the rejectionhandled event is raised, indicating that a promise was rejected and the rejection has been handled.
Worker - Web APIs
WebAPIWorker
also available through the onrejectionhandled event handler property.
WorkerGlobalScope - Web APIs
WebAPIWorkerGlobalScope
also available via the workerglobalscope.onrejectionhandled property.