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
-
documentation is changed or added -
commit message follows commit guidelines