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

Method ping

src/core/context/values.js:230–232  ·  view source on GitHub ↗

* Schedules a recalculation of the specified property, but only if this * property is tracked by this node. * * @param {IContextProp<?, ?>} prop * @param {boolean} refreshParent Whether the parent node needs to be looked * up again. * @protected

(prop, refreshParent)

Source from the content-addressed store, hash-verified

228 * @protected
229 */
230 ping(prop, refreshParent) {
231 this.usedByKey_?.get(prop.key)?.ping(refreshParent);
232 }
233
234 /**
235 * The callback called by the `ContextNode` to notify values of the context

Callers 5

setMethod · 0.95
rootUpdatedMethod · 0.95
scanMethod · 0.95
scanAllMethod · 0.95
startUsed_Method · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected