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

Function sync

test/unit/test-loading-indicator.js:56–58  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

54 }
55
56 function sync(value) {
57 return {then: (callback) => callback(value)};
58 }
59
60 function getLoader() {
61 return el.querySelector('.i-amphtml-loading-container');

Callers 1

Calls 1

callbackFunction · 0.50

Tested by

no test coverage detected