Update README.md
Mention the need to drain entry streams or else the main stream gets backpressure
This commit is contained in:
parent
f50e71b53a
commit
4210140046
1 changed files with 2 additions and 0 deletions
|
@ -75,6 +75,8 @@ extract.on('finish', function() {
|
|||
pack.pipe(extract)
|
||||
```
|
||||
|
||||
The tar archive is streamed sequentially, meaning you **must** drain each entry's stream as you get them or else the main extract stream will receive backpressure and stop reading.
|
||||
|
||||
## Headers
|
||||
|
||||
The header object using in `entry` should contain the following properties.
|
||||
|
|
Loading…
Reference in a new issue