26 lines
1 KiB
TypeScript
26 lines
1 KiB
TypeScript
// Module ID: 17250
|
|
// Function ID: 17251
|
|
// Name: RTCLatencyTestActionCreators
|
|
// Dependencies: [1283, 585, 2]
|
|
// Exports: completeRTCLatencyTest, fetchRTCLatencyTestRegions
|
|
|
|
// Module 17250 (RTCLatencyTestActionCreators)
|
|
import DispatcherDefault from "Dispatcher" /* 585 */;
|
|
import HTTPUtils from "HTTPUtils" /* 1283 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const result = size.fileFinishedImporting("actions/RTCLatencyTestActionCreators.tsx");
|
|
|
|
export const fetchRTCLatencyTestRegions = function fetchRTCLatencyTestRegions(arg0) {
|
|
let obj2;
|
|
const HTTP = HTTPUtils.HTTP;
|
|
const get = HTTP.get;
|
|
const obj = { url: "https:" + window.GLOBAL_ENV.RTC_LATENCY_ENDPOINT + "?v=" + arg0, rejectWithError: obj2.rejectWithMigratedError() };
|
|
obj2 = HTTPUtils;
|
|
return get(obj);
|
|
};
|
|
export const completeRTCLatencyTest = function completeRTCLatencyTest(latencyRankedRegions, mapped) {
|
|
const obj = DispatcherDefault;
|
|
const obj2 = { type: "RTC_LATENCY_TEST_COMPLETE", latencyRankedRegions, geoRankedRegions: mapped };
|
|
obj.dispatch(obj2);
|
|
};
|