* Custion readable constructor * @param {object} opt options * @constructor
(opt)
| 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 () { |
nothing calls this directly
no outgoing calls
no test coverage detected