Skip to content
Permalink
Browse files

doc: writableFinished is true before 'finish'

PR-URL: #28811
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
  • Loading branch information...
ronag authored and targos committed Jul 23, 2019
1 parent c389526 commit 0ac6d28f80a119cc4dcebec3f1c4bae008404da9
Showing with 5 additions and 2 deletions.
  1. +4 −1 doc/api/http.md
  2. +1 −1 doc/api/stream.md
@@ -1478,7 +1478,9 @@ added: v12.7.0

* {boolean}

Is `true` if all data has been flushed to the underlying system.
Is `true` if all data has been flushed to the underlying system, immediately
before the [`'finish'`][] event is emitted.


### response.writeContinue()
<!-- YAML
@@ -2197,6 +2199,7 @@ not abort the request or do anything besides add a `'timeout'` event.
[`agent.createConnection()`]: #http_agent_createconnection_options_callback
[`agent.getName()`]: #http_agent_getname_options
[`destroy()`]: #http_agent_destroy
[`'finish'`]: #http_event_finish
[`getHeader(name)`]: #http_request_getheader_name
[`http.Agent`]: #http_class_http_agent
[`http.ClientRequest`]: #http_class_http_clientrequest
@@ -496,7 +496,7 @@ added: v12.6.0

* {boolean}

Is `true` if after the [`'finish'`][] event has been emitted.
Is set to `true` immediately before the [`'finish'`][] event is emitted.

##### writable.writableHighWaterMark
<!-- YAML

0 comments on commit 0ac6d28

Please sign in to comment.
You can’t perform that action at this time.