MCPcopy
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 */
166export 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.jsFile · 0.90
test-runtime.jsFile · 0.90
waitForServicesFunction · 0.90

Calls 1

Tested by

no test coverage detected