decord/source/__polyfill/00xxx/module_706.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

27 lines
836 B
JavaScript

// Module ID: 706
// Function ID: 707
// Dependencies: [690, 707]
// Exports: getAsyncContextStrategy, setAsyncContextStrategy
// Module 706
import _mod690 from "module_690" /* 690 */;
import _mod707 from "module_707" /* 707 */;
require = arg1;
const dependencyMap = arg6;
Object.defineProperty(arg5, Symbol.toStringTag, { value: "Module" });
export const getAsyncContextStrategy = function getAsyncContextStrategy(arg0) {
const sentryCarrier = _mod690.getSentryCarrier(arg0);
if (sentryCarrier.acs) {
let acs = sentryCarrier.acs;
} else {
acs = _mod707.getStackAsyncContextStrategy();
const tmpResult = _mod707;
}
return acs;
};
export const setAsyncContextStrategy = function setAsyncContextStrategy(acs) {
const mainCarrier = _mod690.getMainCarrier();
_mod690.getSentryCarrier(mainCarrier).acs = acs;
};