Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/bberak/react-native-game-engine
/ stop
Method
stop
src/DefaultTimer.js:39–44 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
37
}
38
39
stop() {
40
if
(this.loopId) {
41
cancelAnimationFrame(this.loopId);
42
this.loopId = null;
43
}
44
}
45
46
subscribe(callback) {
47
if
(this.subscribers.indexOf(callback) === -1)
Callers
6
componentWillUnmount
Method · 0.80
UNSAFE_componentWillReceiveProps
Method · 0.80
GameEngine
Class · 0.80
componentWillUnmount
Method · 0.80
UNSAFE_componentWillReceiveProps
Method · 0.80
GameLoop
Class · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected