When implementing a transform stream, which method should be implemented to handle the transformation of chunks?

  • _transform
  • _read
  • _write
  • _pipe
When implementing a transform stream in Node.js, you should implement the _transform method. This method receives input data in chunks and allows you to process and transform the data before passing it downstream. The other options are not specific to transform streams.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *