Signal compressedInput that we've finished enqueuing files, and it can exit whenever it has finished processing what was already enqueued. This can be used by an input which has a fixed set of files to process.
()
| 236 | // whenever it has finished processing what was already enqueued. This can |
| 237 | // be used by an input which has a fixed set of files to process. |
| 238 | func (s *CompressedInput) NoMoreFiles() { |
| 239 | close(s.files) |
| 240 | } |
| 241 | |
| 242 | func (s *CompressedInput) Stop() { |
| 243 | close(s.stopNow) |
no outgoing calls