Method
_destroy
(error: Error | null, callback: (error: Error | null | undefined) => void)
Source from the content-addressed store, hash-verified
| 144 | } |
| 145 | |
| 146 | override _destroy(error: Error | null, callback: (error: Error | null | undefined) => void): void { |
| 147 | // Stream might be destroyed after the connection was closed. |
| 148 | this._channel.close().catch(e => null); |
| 149 | super._destroy(error, callback); |
| 150 | } |
| 151 | } |
| 152 | |
| 153 | class WritableStreamImpl extends Writable { |
Callers
nothing calls this directly
Tested by
no test coverage detected