File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,9 @@ See `addFile()` for the meaning of `mtime` and `mode`.
153
153
#### end([ finalSizeCallback] )
154
154
155
155
Indicates that no more files will be added via ` addFile() ` , ` addReadStream() ` , or ` addBuffer() ` .
156
- Some time after calling this function, ` outputStream ` will be ended.
156
+ Some time after calling this function, ` outputStream ` will be ended. Note that this entails that you cannot rely on this
157
+ callback to know when you are done producing output. If for instance you are creating a zip archive on disk, you will need
158
+ to listen to the ` end ` event on the ` outputStream ` before notifying consumers of that file.
157
159
158
160
If specified and non-null, ` finalSizeCallback ` is given the parameters ` (finalSize) `
159
161
sometime during or after the call to ` end() ` .
You can’t perform that action at this time.
0 commit comments