MCPcopy
hub / github.com/ampproject/amphtml / executionAction_

Method executionAction_

src/custom-element.js:1868–1879  ·  view source on GitHub ↗

* Executes the action immediately. All errors are consumed and reported. * @param {!./service/action-impl.ActionInvocation} invocation * @param {boolean} deferred * @final * @private

(invocation, deferred)

Source from the content-addressed store, hash-verified

1866 * @private
1867 */
1868 executionAction_(invocation, deferred) {
1869 try {
1870 this.impl_.executeAction(invocation, deferred);
1871 } catch (e) {
1872 rethrowAsync(
1873 'Action execution failed:',
1874 e,
1875 invocation.node.tagName,
1876 invocation.method
1877 );
1878 }
1879 }
1880
1881 /**
1882 * Get the consent policy to follow.

Callers 2

enqueActionMethod · 0.95
dequeueActions_Method · 0.95

Calls 2

rethrowAsyncFunction · 0.90
executeActionMethod · 0.45

Tested by

no test coverage detected