Skip to content

src: document DoWrite() usage expectations

Clarify how it must behave for both synchronous and asynchronous completion.

@addaleax @nodejs/streams This documents my understanding of the StreamResource::DoWrite() API expectations. TLS wasn't obeying these expecations, leading to wide-spread test suite failures during TLS1.3 development.

Checklist

Merge request reports

Loading