Lines Matching refs:stream
282 const stream = useStdout ? this._stdout : this._stderr;
294 if (ignoreErrors === false) return stream.write(string);
302 if (stream.listenerCount('error') === 0)
303 stream.once('error', noop);
305 stream.write(string, errorHandler);
313 stream.removeListener('error', noop);
320 value: function(stream) {
323 color = lazyUtilColors().shouldColorize(stream);
357 // Make a function that can serve as the callback passed to `stream.write()`.
363 const stream = streamSymbol === kUseStdout ?
365 if (err !== null && !stream._writableState.errorEmitted) {
366 // If there was an error, it will be emitted on `stream` as
371 if (stream.listenerCount('error') === 0) {
372 stream.once('error', noop);