decord/source/modules/app_startup/native/executeRunnable.tsx
2026-08-24 06:08:38 +00:00

40 lines
1.5 KiB
TypeScript

// Module ID: 16535
// Function ID: 16536
// Name: executeRunnable
// Dependencies: [5, 16536, 3, 13278, 675, 15, 9, 10, 589, 2]
// Exports: default
// Module 16535 (executeRunnable)
import timestampDefault from "timestamp" /* 3 */;
import setRequestedByAll from "setRequestedBy" /* 675 */;
import getIsPausedAll from "getIsPaused" /* 13278 */;
import closure_4 from "asyncGeneratorStep" /* 5 */;
import linkFromAppsFlyer from "linkFromAppsFlyer" /* 16536 */;
const require = arg1;
({ init: c5, applicationReady: closure_6 } = linkFromAppsFlyer);
const result = require("set").fileFinishedImporting("modules/app_startup/native/executeRunnable.tsx");
export default function executeRunnable(arg0, arg1) {
closure_0 = arg0;
importDefault = arg1;
new timestampDefault(arg0).log("Loading the " + arg0 + " Discord runnable");
const obj = new timestampDefault(arg0);
getIsPausedAll.setIsPaused(false);
const obj2 = getIsPausedAll;
const combined = "executeRunnable:" + arg0;
return setRequestedByAll.withRequest(combined, callback(function*() {
const obj4 = closure_1_0(15);
obj4.identifyWebSocket();
const init = closure_1_1(9).init;
yield init.measureAsync(closure_1_5);
yield closure_1_6.promise;
const _HermesInternal = HermesInternal;
v0(675).startBridgeTo("AppContainer:" + closure_0.toLowerCase());
const obj9 = v0(675);
return closure_1_1(10).time("\u{1F3C3}", "Run", () => {
const Emitter = callback(table[8]).Emitter;
return Emitter.batched(callback);
});
}));
};