MCPcopy
hub / github.com/bee-queue/bee-queue / _stop

Method _stop

lib/eager-timer.js:55–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53 // PRIVATE METHODS
54
55 _stop() {
56 if (this._timer) {
57 clearTimeout(this._timer);
58 this._nextTime = null;
59 this._timer = null;
60 }
61 }
62
63 _schedule(time) {
64 const duration = time - Date.now();

Callers 2

stopMethod · 0.95
_scheduleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected