Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AlecM33/Werewolf
/ stopTimer
Method
stopTimer
server/modules/ServerTimer.js:66–72 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
64
}
65
66
stopTimer () {
67
if
(this.ticking) {
68
this.logger.debug(
'STOPPING TIMER'
);
69
clearTimeout(this.ticking);
70
this.ticking = null;
71
}
72
}
73
74
resumeTimer () {
75
if
(!this.ticking) {
Callers
3
Events.js
File · 0.45
GameManager
Class · 0.45
ServerTimer_Spec.js
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected