decord/source/6330_getAsyncContextStrategy.js

24 lines
870 B
JavaScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 6330
2026-07-27 11:26:19 +00:00
// Function ID: 56891
2026-07-25 08:10:48 +00:00
// Name: getAsyncContextStrategy
// Dependencies: [6329, 6331]
// Module 6330 (getAsyncContextStrategy)
const require = arg1;
const dependencyMap = arg6;
arg5.getAsyncContextStrategy = function getAsyncContextStrategy(arg0) {
const sentryCarrier = require(6329) /* getSentryCarrier */.getSentryCarrier(arg0);
if (sentryCarrier.acs) {
let acs = sentryCarrier.acs;
} else {
acs = require(6331) /* getAsyncContextStack */.getStackAsyncContextStrategy();
const obj2 = require(6331) /* getAsyncContextStack */;
}
return acs;
};
arg5.setAsyncContextStrategy = function setAsyncContextStrategy(acs) {
const mainCarrier = require(6329) /* getSentryCarrier */.getMainCarrier();
const obj = require(6329) /* getSentryCarrier */;
require(6329) /* getSentryCarrier */.getSentryCarrier(mainCarrier).acs = acs;
};