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

Method resume

src/Formidable.js:167–180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

165 }
166
167 resume () {
168 try {
169 this.req.resume();
170 } catch (err) {
171 // the stream was destroyed
172 if (!this.ended) {
173 // before it was completed, crash & burn
174 this._error(err);
175 }
176 return false;
177 }
178
179 return true;
180 }
181
182 // returns a promise if no callback is provided
183 async parse(req, cb) {

Callers 4

_handlePartMethod · 0.95
initFunction · 0.80
createInitMultipartFunction · 0.80

Calls 1

_errorMethod · 0.95

Tested by

no test coverage detected