- Version: all
- Platform: all
- Subsystem: stream, test
Part of #8644
stream._writableState.needDrain
stream._writableState.ending
stream._writableState.ended
stream._writableState.finished
|
this.needDrain = false; |
|
// at the start of calling end() |
|
this.ending = false; |
|
// when end() has been called, and returned |
|
this.ended = false; |
|
// when 'finish' is emitted |
|
this.finished = false; |
cc @Fishrock123 @nodejs/streams