Adding chunk.Client Close signal
element-of-surprise
released this
07 Feb 22:50
·
33 commits
to master
since this release
Use case: You want to do something in response to a chunk client in a far away goroutine closing.
Added: CloseSignal() method that returns a channel that closes when the client has .Close() called on it (externally or internally on error).