Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for handleMessages (0.24 sec)

  1. internal/grid/connection.go

    			conn.Close()
    			cancel(ErrDisconnected)
    			return
    		}
    		// Unlock and wait for state change.
    		c.connChange.Wait()
    	}
    }
    
    // handleMessages will handle incoming messages on conn.
    // caller *must* hold reconnectMu.
    func (c *Connection) handleMessages(ctx context.Context, conn net.Conn) {
    	c.updateState(StateConnected)
    	ctx, cancel := context.WithCancelCause(ctx)
    	defer cancel(ErrDisconnected)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
Back to top