Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
38 lines
1.5 KiB
TypeScript
38 lines
1.5 KiB
TypeScript
// Module ID: 17261
|
|
// Function ID: 17262
|
|
// Name: executeRunnable
|
|
// Dependencies: [5, 17262, 3, 13693, 7771, 15, 9, 10, 504, 2]
|
|
// Exports: default
|
|
|
|
// Module 17261 (executeRunnable)
|
|
import LoggerDefault from "Logger" /* 3 */;
|
|
import RequestGatewaySocketAll from "RequestGatewaySocket" /* 7771 */;
|
|
import PauseGatewaySocketAll from "PauseGatewaySocket" /* 13693 */;
|
|
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
|
|
|
const require = fn;
|
|
const NativeAppStartup = fn(17262);
|
|
({ 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(7771).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);
|
|
});
|
|
}));
|
|
};
|