38 lines
2.3 KiB
TypeScript
38 lines
2.3 KiB
TypeScript
/* Metro module 12830; source: modules/app_startup/awaitExperiments.tsx; dependencies: [7864, 2] */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as FutureModule from '../../external/discord_common/js/shared/utils/Future.tsx'; /* Metro dependency 7864 */
|
|
|
|
function _fun97886(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#97886, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13020:6, offset: 0x02195c01, size: 161 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const Future = (FutureModule).Future;
|
|
const future = new Future();
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/app_startup/awaitExperiments.tsx');
|
|
exports.beginLoadedExperimentsTimeout = function() {
|
|
env0_1 = global.setTimeout(_fun97888, 1000);
|
|
};
|
|
exports.onExperimentsLoaded = onExperimentsLoaded;
|
|
exports.getPromise = getPromise;
|
|
function beginLoadedExperimentsTimeout() { // fn#97887, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13020:231, offset: 0x02195ca2, size: 40 bytes, params: 1, frame: 13
|
|
const value = global.setTimeout(_fun97888, 1000);
|
|
function _fun97888() { // fn#97888, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13020:286, offset: 0x02195cca, size: 26 bytes, params: 1, frame: 10
|
|
env1_0.resolve();
|
|
}
|
|
|
|
}
|
|
|
|
function onExperimentsLoaded() { // fn#97889, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13020:340, offset: 0x02195ce4, size: 49 bytes, params: 1, frame: 11
|
|
if (env0_1 != null) {
|
|
env0_0.resolve();
|
|
global.clearTimeout(env0_1);
|
|
}
|
|
}
|
|
|
|
function getPromise() { // fn#97890, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13020:424, offset: 0x02195d15, size: 15 bytes, params: 1, frame: 1
|
|
return env0_0.promise;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun97886, 12830, [7864, 2]) /* metro module 12830, dependencies: [7864, 2] */;
|