(options)
| 24296 | } |
| 24297 | |
| 24298 | function Readable(options) { |
| 24299 | Duplex = Duplex || require('./_stream_duplex'); |
| 24300 | |
| 24301 | if (!(this instanceof Readable)) return new Readable(options); |
| 24302 | |
| 24303 | this._readableState = new ReadableState(options, this); |
| 24304 | |
| 24305 | // legacy |
| 24306 | this.readable = true; |
| 24307 | |
| 24308 | if (options && typeof options.read === 'function') this._read = options.read; |
| 24309 | |
| 24310 | Stream.call(this); |
| 24311 | } |
| 24312 | |
| 24313 | // Manually shove something into the read() buffer. |
| 24314 | // This returns true if the highWaterMark has not been hit yet, |
nothing calls this directly
no outgoing calls
no test coverage detected