0 votes
in JAVA by
Streams in Gulp.js

1 Answer

0 votes
by

Streams

  • Streams helps to compose large systems out of small components which can perform one thing well.

  • Streams separate concerns because they restrict the implementation surface area into a consistent interface which could be reused.

  • I/O in node is asynchronous, so interacting with the disk and network involves passing callbacks to functions.

  • Various types of streams use .pipe() to pair inputs with outputs.

  • .pipe() is a mere function that takes a readable source stream src: and hooks the output to a destination writable stream dst:

Related questions

0 votes
asked Feb 15, 2020 in JAVA by rahuljain1
0 votes
asked May 17, 2020 in JAVA by SakshiSharma
...