MCPcopy
hub / github.com/node-formidable/formidable / _maybeEnd

Method _maybeEnd

src/Formidable.js:675–681  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

673 }
674
675 _maybeEnd() {
676 if (!this.ended || this._flushing || this.error) {
677 return;
678 }
679 this.req = null;
680 this.emit('end');
681 }
682}
683
684export default IncomingForm;

Callers 7

_handlePartMethod · 0.95
_flushMethod · 0.80
initFunction · 0.80
doneFunction · 0.80
initFunction · 0.80
createInitMultipartFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected