MCPcopy
hub / github.com/mongodb/node-mongodb-native / stop

Method stop

src/sdam/monitor.ts:638–647  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

636 }
637
638 stop() {
639 this.stopped = true;
640 if (this.timerId) {
641 clearTimeout(this.timerId);
642 this.timerId = undefined;
643 }
644
645 this.lastExecutionEnded = -Infinity;
646 this.isExpeditedCallToFnScheduled = false;
647 }
648
649 toString() {
650 return JSON.stringify(this);

Callers 1

resetMonitorStateFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected