MCPcopy Index your code
hub / github.com/ampproject/amphtml / installPreconnectService

Function installPreconnectService

src/preconnect.js:323–325  ·  view source on GitHub ↗
(window)

Source from the content-addressed store, hash-verified

321 * @param {!Window} window
322 */
323export function installPreconnectService(window) {
324 registerServiceBuilder(window, 'preconnect', PreconnectService);
325}
326
327/**
328 * Preconnects to the source URL and canonical domains to make sure

Callers 2

getPreconnectIframeFunction · 0.90
installRuntimeServicesFunction · 0.90

Calls 1

registerServiceBuilderFunction · 0.90

Tested by

no test coverage detected