How do we get promises into Streams?
Once upon a time...
This is an interactive session!
We are going to work together on ideating some new APIs for Node.js
Divide yourself into groups of 3-5 people!
How we promisify Writable.write()
?
Key constrains:
- highwaterMark support
- error handling
for await (let chunk of stream) {
await ???
}
Recap
http.promises?
Recap