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

Method stop

3p/3d-gltf/animation-loop.js:39–45  ·  view source on GitHub ↗

* Stops the task execution.

()

Source from the content-addressed store, hash-verified

37 * Stops the task execution.
38 */
39 stop() {
40 this.isRunning_ = false;
41 if (this.currentRAF_ !== 0) {
42 cancelAnimationFrame(this.currentRAF_);
43 this.currentRAF_ = 0;
44 }
45 }
46
47 /** @private */
48 loop_() {

Callers 12

ProgramFunction · 0.45
enterFunction · 0.45
ImportDeclarationFunction · 0.45
IdentifierFunction · 0.45
ThisExpressionFunction · 0.45
exitFunction · 0.45
ImportDeclarationFunction · 0.45
visualDiffFunction · 0.45
parseMessageFunction · 0.45
parseMessageFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected