Bykhovtsev Egor
Bykhovtsev Egor
🤔 Coverage поправлю
> Streams are not inherently asynchronous in the way you suggest: [Writable#write calls _write](https://github.com/nodejs/node/blob/main/lib/internal/streams/writable.js#L508), [_write calls writeOrBuffer](https://github.com/nodejs/node/blob/main/lib/internal/streams/writable.js#L499), and [writeOrBuffer calls Writable#_write](https://github.com/nodejs/node/blob/main/lib/internal/streams/writable.js#L570), all synchronously. Indeed, I was confused with [this line](https://github.com/nodejs/node/blob/main/lib/internal/streams/writable.js#L551)...
> Do you have a self-contained benchmark that demonstrates the problem you are seeing that you can share here? Ugh, it takes a little more time than I originally imagined....
@murgatroid99 Thank you for your patience > As I said, this is about the case where there are interceptors. Interceptors can process messages asynchronously, and they are not required to...
@murgatroid99 a kind reminder 🥺. Have you managed to look at my example?