@internal
(callback: (error?: Error | null) => void)
| 187 | |
| 188 | /** @internal */ |
| 189 | override _final(callback: (error?: Error | null) => void): void { |
| 190 | if (this.state.streamEnd) { |
| 191 | return queueMicrotask(callback); |
| 192 | } |
| 193 | this.state.streamEnd = true; |
| 194 | writeRemnant(this, callback); |
| 195 | } |
| 196 | |
| 197 | /** |
| 198 | * Places this write stream into an aborted state (all future writes fail) |
nothing calls this directly
no test coverage detected