17 lines
511 B
TypeScript
17 lines
511 B
TypeScript
// Metro module 16310 (f16311).
|
|
import { HTTP, rejectWithMigratedError } from "../_bundle/sendRequest";
|
|
import Dispatcher from "../Dispatcher";
|
|
export function fetchRTCLatencyTestRegions(a0) {
|
|
return HTTP.get({
|
|
url: `https:${window.GLOBAL_ENV.RTC_LATENCY_ENDPOINT}?v=${a0}`,
|
|
rejectWithError: rejectWithMigratedError()
|
|
});
|
|
}
|
|
export function completeRTCLatencyTest(a0, a1) {
|
|
Dispatcher.dispatch({
|
|
type: "RTC_LATENCY_TEST_COMPLETE",
|
|
latencyRankedRegions: a0,
|
|
geoRankedRegions: a1
|
|
});
|
|
}
|