2026-07-29 08:29:29 +00:00
|
|
|
// Module ID: 841
|
|
|
|
|
// Function ID: 842
|
|
|
|
|
// Name: getAsyncContextStrategy
|
|
|
|
|
// Dependencies: [825, 842]
|
|
|
|
|
|
|
|
|
|
// Module 841 (getAsyncContextStrategy)
|
2026-08-24 06:08:38 +00:00
|
|
|
import getGlobalSingleton from "getGlobalSingleton" /* 825 */;
|
|
|
|
|
import withScope from "withScope" /* 842 */;
|
|
|
|
|
|
|
|
|
|
require = arg1;
|
2026-07-29 08:29:29 +00:00
|
|
|
const dependencyMap = arg6;
|
|
|
|
|
Object.defineProperty(arg5, Symbol.toStringTag, { value: "Module" });
|
|
|
|
|
arg5.getAsyncContextStrategy = function getAsyncContextStrategy(arg0) {
|
2026-08-24 06:08:38 +00:00
|
|
|
const sentryCarrier = getGlobalSingleton.getSentryCarrier(arg0);
|
2026-07-29 08:29:29 +00:00
|
|
|
if (sentryCarrier.acs) {
|
|
|
|
|
let acs = sentryCarrier.acs;
|
|
|
|
|
} else {
|
2026-08-24 06:08:38 +00:00
|
|
|
acs = withScope.getStackAsyncContextStrategy();
|
|
|
|
|
const tmpResult = withScope;
|
2026-07-29 08:29:29 +00:00
|
|
|
}
|
|
|
|
|
return acs;
|
|
|
|
|
};
|
|
|
|
|
arg5.setAsyncContextStrategy = function setAsyncContextStrategy(acs) {
|
2026-08-24 06:08:38 +00:00
|
|
|
const mainCarrier = getGlobalSingleton.getMainCarrier();
|
|
|
|
|
const obj = getGlobalSingleton;
|
|
|
|
|
getGlobalSingleton.getSentryCarrier(mainCarrier).acs = acs;
|
2026-07-29 08:29:29 +00:00
|
|
|
};
|