Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ampproject/amphtml
/ getServicePromise
Function
getServicePromise
src/service-helpers.js:166–168 ·
view source on GitHub ↗
(win, id)
Source
from the content-addressed store, hash-verified
164
* @
return
{!Promise<!Object>}
165
*/
166
export
function
getServicePromise(win, id) {
167
return
getServicePromiseInternal(win, id);
168
}
169
170
/**
171
* Returns a service or null with the given id.
Callers
4
test-service.js
File · 0.90
test-runtime.js
File · 0.90
getElementServicePromiseOrNull
Function · 0.90
waitForServices
Function · 0.90
Calls
1
getServicePromiseInternal
Function · 0.85
Tested by
no test coverage detected