June 2025
Intermediate to advanced
837 pages
24h 50m
English
While readable streams are the data source, writable streams are the destination of a stream chain. One of the most common use cases is writing data to a file. But numerous other targets such as databases, external interfaces, or remote systems are also conceivable. For most cases, proven solutions are available for you to use, so that no further effort is required on your part. However, if an existing implementation isn’t sufficient or if there is none yet, you can create a writable stream yourself.
Before you start creating your own writable streams, you should first learn about the API. To do that, you should take a look at a concrete example. In Listing 18.10, you write the contents ...
Read now
Unlock full access