This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
// Metro module 6403 (f6404).
import { isThenable } from "./isInstanceOf_6375";
export function handleCallbackErrors(a0, a1, r2 = () => {}) {
let r5;
try {
r5 = a0();
} catch (r9) {
a1(r9);
r2();
throw r9;
}
return (function maybeHandlePromiseRejection(a0, c25852_0, a2) {
if (isThenable(a0)) {
return a0.then((result) => {
a2();
return result;
}, (a0) => {
c25852_0(a0);
a2();
throw a0;
});
}
a2();
return a0;
})(r5, a1, r2);
}