MCPcopy Create free account
hub / github.com/ampproject/amphtml / run

Method run

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

* Runs the task * @return {boolean}

()

Source from the content-addressed store, hash-verified

25 * @return {boolean}
26 */
27 run() {
28 if (this.isRunning_) {
29 return false;
30 }
31 this.isRunning_ = true;
32 this.loop_();
33 return true;
34 }
35
36 /**
37 * Stops the task execution.

Callers 1

Calls 1

loop_Method · 0.95

Tested by

no test coverage detected