MCPcopy Create free account
hub / github.com/datalust/seq-logging / more

Method more

seq_logger.js:162–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160 let shipper = this._activeShipper = wait
161 .then(() => {
162 let more = drained => {
163 if (drained) {
164 // If the queue was drained, let the timer
165 // push us forwards.
166 return true;
167 }
168 return this._sendBatch().then(d => more(d));
169 }
170 return this._sendBatch().then(drained => more(drained));
171 })
172 .then(() => this._reset(shipper), e => {

Callers

nothing calls this directly

Calls 1

_sendBatchMethod · 0.95

Tested by

no test coverage detected