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

Method thenAlways

src/motion.js:190–193  ·  view source on GitHub ↗

* Callback for regardless whether the motion succeeds or fails. * @param {function()=} opt_callback * @return {!Promise}

(opt_callback)

Source from the content-addressed store, hash-verified

188 * @return {!Promise}
189 */
190 thenAlways(opt_callback) {
191 const callback = opt_callback || NOOP_CALLBACK_;
192 return /** @type {!Promise} */ (this.then(callback, callback));
193 }
194
195 /**
196 * @return {!Promise}

Callers 15

animateExpand_Method · 0.45
animateCollapse_Method · 0.45
onMoveRelease_Method · 0.45
onZoomRelease_Method · 0.45
set_Method · 0.45
enter_Method · 0.45
exit_Method · 0.45
goMethod · 0.45
mutateNewPositionMethod · 0.45
animateScrollLeft_Method · 0.45
onMoveRelease_Method · 0.45
onTapZoomRelease_Method · 0.45

Calls 1

thenMethod · 0.95

Tested by

no test coverage detected