Last 12 weeks · 0 commits
2 of 6 standards met
Repository: tj/go-disk-buffer. Description: Disk buffer implementing io.Writer Stars: 51, Forks: 3. Primary language: Go. Languages: Go (99.2%), Makefile (0.8%). License: MIT. Open PRs: 0, open issues: 0. Last activity: 7y ago. Community health: 42%. Top contributors: tj.
Currently there doesn't seem to be a way to detect that the buffer has been closed and to clear the queue of processed files. It seems like on closing the buffer that the queue should also be closed. That would allow a consumer of the processing queue to detect that the buffer has been closed and to return after processing remaining files in the queue. Would you be open to a PR that closes the queue when closing the buffer?