Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumNodeJSpiping streamsSingle-choice MCQ

What is the behavior difference between these two ways of ending a transform pipeline?

// A source.pipe(transform).pipe(dest); // B const { pipeline } = require('stream'); pipeline(source, transform, dest, (err) => {});