MCPcopy Create free account
hub / github.com/librespeed/speedtest / selectServer

Function selectServer

frontend/javascript/index.js:251–255  ·  view source on GitHub ↗

* Set the given server as the selected server for the speedtest * @param {Object} server - a server object

(server)

Source from the content-addressed store, hash-verified

249 * @param {Object} server - a server object
250 */
251function selectServer(server) {
252 testState.speedtest.setSelectedServer(server);
253 testState.selectedServerDirty = true;
254 testState.state = READY;
255}
256
257/**
258 * Start the requestAnimationFrame UI rendering loop

Callers 2

applyServerListJSONFunction · 0.85
populateDropdownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…