MCPcopy Create free account
hub / github.com/code100x/chess / setTimer

Method setTimer

apps/ws/src/Game.ts:373–375  ·  view source on GitHub ↗
(timer: NodeJS.Timeout)

Source from the content-addressed store, hash-verified

371 }
372
373 setTimer(timer: NodeJS.Timeout) {
374 this.timer = timer;
375 }
376
377 clearTimer() {
378 if (this.timer) clearTimeout(this.timer);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected