Skip to content

Adding chunk.Client Close signal

Compare
Choose a tag to compare
@element-of-surprise 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).