You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
func (c*Conn) CloseRead(ctx context.Context) (context.Context) {
// spawn goroutine in example and return a context that will be cancelled when the goroutine returns
}
https://github.com/nhooyr/websocket/blob/31492255de53f0499a7255b5c4f45b345cb3ec7b/example_test.go#L77
@ammario suggested I add a function for that. I agree but I don't know what to name it.
The text was updated successfully, but these errors were encountered: