MCPcopy
hub / github.com/rollup/rollup / onHandleUnhandled

Function onHandleUnhandled

test/form/samples/supports-core-js/_expected.js:11046–11053  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

11044 };
11045
11046 var onHandleUnhandled = function (state) {
11047 call(task, globalThis, function () {
11048 var promise = state.facade;
11049 if (IS_NODE) {
11050 process.emit('rejectionHandled', promise);
11051 } else dispatchEvent(REJECTION_HANDLED, promise, state.value);
11052 });
11053 };
11054
11055 var bind = function (fn, state, unwrap) {
11056 return function (value) {

Callers 1

callReactionFunction · 0.85

Calls 2

dispatchEventFunction · 0.85
emitMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…