summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobert Nagy <ronagy@icloud.com>2019-07-14 18:13:08 +0200
committerMichaƫl Zasso <targos@protonmail.com>2019-07-20 11:13:06 +0200
commit06d0abea0d7ef0a83e0171d5846fd7d597bc83fa (patch)
treea519e914855ba1312c9a417861a948ad4854aca5 /doc
parentcaee9106acd54832b529ac7f8ce7d9a8da170a4e (diff)
downloadandroid-node-v8-06d0abea0d7ef0a83e0171d5846fd7d597bc83fa.tar.gz
android-node-v8-06d0abea0d7ef0a83e0171d5846fd7d597bc83fa.tar.bz2
android-node-v8-06d0abea0d7ef0a83e0171d5846fd7d597bc83fa.zip
http: add response.writableFinished
response.writableFinished is true if all data has been flushed to the underlying system. PR-URL: https://github.com/nodejs/node/pull/28681 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/http.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/api/http.md b/doc/api/http.md
index 17e60e2fa5..8df5ea2d61 100644
--- a/doc/api/http.md
+++ b/doc/api/http.md
@@ -1464,6 +1464,15 @@ Returns `true` if the entire data was flushed successfully to the kernel
buffer. Returns `false` if all or part of the data was queued in user memory.
`'drain'` will be emitted when the buffer is free again.
+### response.writableFinished
+<!-- YAML
+added: REPLACEME
+-->
+
+* {boolean}
+
+Is `true` if all data has been flushed to the underlying system.
+
### response.writeContinue()
<!-- YAML
added: v0.3.0