decord/source/modules/app_startup/native/executeRunnable.tsx
github-actions 20a21ad13f chore: update source for alpha 346.5
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4791.js (118.4 MB)
2026-09-11 19:12:58 +00:00

38 lines
1.5 KiB
TypeScript

// Module ID: 17309
// Function ID: 17310
// Name: executeRunnable
// Dependencies: [5, 17310, 3, 13721, 7829, 15, 9, 10, 504, 2]
// Exports: default
// Module 17309 (executeRunnable)
import LoggerDefault from "Logger" /* 3 */;
import RequestGatewaySocketAll from "RequestGatewaySocket" /* 7829 */;
import PauseGatewaySocketAll from "PauseGatewaySocket" /* 13721 */;
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
const require = fn;
const NativeAppStartup = fn(17310);
({ init: hasOwnProperty, applicationReady: metroRequire } = NativeAppStartup);
const size = fn(2);
const result = size.fileFinishedImporting("modules/app_startup/native/executeRunnable.tsx");
export default function executeRunnable(arg0, arg1) {
closure_0 = arg0;
importDefault = arg1;
new LoggerDefault(arg0).log("Loading the " + arg0 + " Discord runnable");
const obj = new LoggerDefault(arg0);
PauseGatewaySocketAll.setIsPaused(false);
const combined = "executeRunnable:" + arg0;
return RequestGatewaySocketAll.withRequest(combined, asyncGeneratorStep(async () => {
closure_0(15).identifyWebSocket();
const init = closure_1(9).init;
await init.measureAsync(closure_1_5);
await promise.promise;
const _HermesInternal = HermesInternal;
v2(7829).startBridgeTo("AppContainer:" + closure_129_0.toLowerCase());
return closure_1(10).time("\u{1F3C3}", "Run", () => {
const Emitter = closure_1(c3[8]).Emitter;
return Emitter.batched(closure_1_1);
});
}));
};