MCPcopy Create free account
hub / github.com/algorithm-visualizer/algorithm-visualizer / pause

Function pause

src/components/Player/index.js:119–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117 }
118
119 pause() {
120 if (this.timer) {
121 window.clearTimeout(this.timer);
122 this.timer = undefined;
123 this.setState({ playing: false });
124 }
125 }
126
127 next() {
128 this.pause();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected