doc: clarify response.finished
PR-URL: https://github.com/nodejs/node/pull/28411 Refs: https://github.com/jshttp/on-finished/issues/30 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
parent
cf9a7f2dce
commit
63a0f4cdd3
@ -1174,8 +1174,8 @@ added: v0.0.2
|
||||
|
||||
* {boolean}
|
||||
|
||||
Boolean value that indicates whether the response has completed. Starts
|
||||
as `false`. After [`response.end()`][] executes, the value will be `true`.
|
||||
The `response.finished` property will be `true` if [`response.end()`][]
|
||||
has been called.
|
||||
|
||||
### response.getHeader(name)
|
||||
<!-- YAML
|
||||
|
Loading…
x
Reference in New Issue
Block a user