MCPcopy Create free account
hub / github.com/TheOrcDev/github-creature / pause

Method pause

components/liquid-ether.tsx:1147–1153  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1145 this._loop();
1146 }
1147 pause() {
1148 this.running = false;
1149 if (rafRef.current) {
1150 cancelAnimationFrame(rafRef.current);
1151 rafRef.current = null;
1152 }
1153 }
1154 dispose() {
1155 try {
1156 window.removeEventListener("resize", this._resize);

Callers 2

constructorMethod · 0.95
LiquidEtherFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected