Lines Matching defs:stream
25 const { Readable, Writable } = require('stream');
29 const stream = new Writable({ objectMode: true });
31 stream.write = function(chunk) {
35 stream.end = common.mustCall(function() {
39 return stream;
54 // Verify that objects can be read from the stream
67 // Verify that objects can be piped into the stream
216 // Verify that objects can be written to stream
230 // Verify that multiple objects can be written to stream
276 // Verify that stream buffers finish until callback is called