24 lines
1.6 KiB
TypeScript
24 lines
1.6 KiB
TypeScript
/* Metro module 15819; source: actions/RTCLatencyTestActionCreators.tsx; dependencies: [507, 694, 2] */
|
|
import Dispatcher from '../Dispatcher.tsx'; /* Metro dependency 694 */
|
|
import * as FileImportTrackerModule from '../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
|
|
function _fun121579(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#121579, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16027:6, offset: 0x0254b526, size: 116 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(FileImportTrackerModule).fileFinishedImporting('actions/RTCLatencyTestActionCreators.tsx');
|
|
exports.fetchRTCLatencyTestRegions = function(a0) {
|
|
var HTTP = require(dependencyMap[0]).HTTP;
|
|
var RTC_LATENCY_ENDPOINT = global.window.GLOBAL_ENV.RTC_LATENCY_ENDPOINT;
|
|
return HTTP.get({url: '' + 'https:' + RTC_LATENCY_ENDPOINT + '?v=' + a0, rejectWithError: false});
|
|
};
|
|
exports.completeRTCLatencyTest = completeRTCLatencyTest;
|
|
function completeRTCLatencyTest(a0, a1) { // fn#121581, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16027:405, offset: 0x0254b603, size: 65 bytes, params: 3, frame: 13
|
|
(Dispatcher).dispatch({type: 'RTC_LATENCY_TEST_COMPLETE',
|
|
latencyRankedRegions: a0, geoRankedRegions: a1});
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun121579, 15819, [507, 694, 2]) /* metro module 15819, dependencies: [507, 694, 2] */;
|