MCPcopy Index your code
hub / github.com/datalust/seq-logging / _setTimer

Method _setTimer

seq_logger.js:85–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 }
84
85 _setTimer() {
86 if (this._timer !== null) {
87 return;
88 }
89
90 this._timer = setTimeout(() => {
91 this._timer = null;
92 this._onTimer();
93 }, this._maxBatchingTime);
94 }
95
96 _clearTimer() {
97 if (this._timer !== null) {

Callers 2

emitMethod · 0.95
_resetMethod · 0.95

Calls 1

_onTimerMethod · 0.95

Tested by

no test coverage detected