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

Method pause

src/Formidable.js:153–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

151 }
152
153 pause () {
154 try {
155 this.req.pause();
156 } catch (err) {
157 // the stream was destroyed
158 if (!this.ended) {
159 // before it was completed, crash & burn
160 this._error(err);
161 }
162 return false;
163 }
164 return true;
165 }
166
167 resume () {
168 try {

Callers 4

_handlePartMethod · 0.95
initFunction · 0.80
createInitMultipartFunction · 0.80

Calls 1

_errorMethod · 0.95

Tested by

no test coverage detected