ProcessStandardInputStream
TBD.
Properties
Returns whether the stream was destroyed or errored before emitting 'end'.
Returns whether 'data' has been emitted.
Getter for the property encoding of a given Readable stream. The encoding property can be set using the readable.setEncoding() method.
Becomes true when 'end' event is emitted.
This property reflects the current state of a Readable stream as described in the "Three states" section.
Returns the value of highWaterMark passed when creating this Readable.
This property contains the number of bytes (or objects) in the queue ready to be read. The value provides introspection data regarding the status of the highWaterMark.
Getter for the property objectMode of a given Readable stream.
Functions
Adds a new handler for the type event. Any given listener is added only once per type and per capture option value.
Alias for emitter.on(eventName, listener).
Destroy the stream. Optionally emit an error event, and emit a close event (unless emitClose is set to false). After this call, the readable stream will release any internal resources and subsequent calls to push() will be ignored.
Dispatches the event to the list of handlers for Event.type.
Returns an array listing the events for which the emitter has registered listeners. The values in the array are strings or Symbols.
Check if all items in this stream match the given predicate.
Filter this stream to produce results from a new Readable.
Find the first item in this stream that matches the given predicate.
Map over this stream to produce a new stream of items.
For each item in this stream, call the given callback.
Returns the current max listener value for the emitter.
Get an iterator for this stream.
Returns the number of listeners listening to the event named eventName.
Returns an array listing the listeners for the specified event.
Adds the listener function to the beginning of the listeners array for the event named eventName. No checks are made to see if the listener has already been added.
Adds a one-time listener function for the event named eventName to the beginning of the listener array. The next time eventName is triggered, this listener is removed, and then invoked.
Returns a copy of the array of listeners for the event named eventName, including any wrappers (such as those created by .once()).
The readable.read() method reads some data from the readable stream and returns it. The data will not be returned immediately if the readable stream is in flowing mode; in that case, the data will be buffered internally, and this method will return it when it is available.
Reduce this stream to a single value.
Removes all listeners, or those of the specified eventName.
Removes all listeners, or those of the specified eventName.
Removes the listener from the list of handlers for event type.
The readable.setEncoding() method sets the encoding for the Readable stream. This method must be called before the first 'data' event is emitted by the stream.
Sets the maximum number of listeners for the emitter.
Check if any item in this stream matches the given predicate.
The readable.unshift() method pushes a chunk of data back into the internal buffer for the stream.