Lines Matching refs:stream
17 const stream = new ArrayStream();
20 stream.write = (msg) => found += msg.replace('\r', '');
30 input: stream,
31 output: stream,
35 stream.emit('data', '.editor\n');
36 stream.emit('data', input);
81 const stream = new ArrayStream();
84 stream.write = () => { throw new Error('Writing not allowed!'); };
89 input: stream,
94 stream.emit('data', '.editor\n');
95 input.split('').forEach((ch) => stream.emit('data', ch));