MCPcopy Create free account
hub / github.com/form-data/form-data / CustomReadable

Function CustomReadable

test/integration/test-submit-readable-stream.js:24–28  ·  view source on GitHub ↗

* Custion readable constructor * @param {object} opt options * @constructor

(opt)

Source from the content-addressed store, hash-verified

22 * @constructor
23 */
24 function CustomReadable(opt) {
25 Readable.call(this, opt);
26 this._max = 2;
27 this._index = 1;
28 }
29 util.inherits(CustomReadable, Readable);
30
31 CustomReadable.prototype._read = function () {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected