Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsClosed (0.13 sec)

  1. internal/grid/connection.go

    	case debugSetClientPingDuration:
    		c.clientPingInterval = args[0].(time.Duration)
    	case debugAddToDeadline:
    		c.addDeadline = args[0].(time.Duration)
    	case debugIsOutgoingClosed:
    		// params: muxID uint64, isClosed func(bool)
    		muxID := args[0].(uint64)
    		resp := args[1].(func(b bool))
    		mid, ok := c.outgoing.Load(muxID)
    		if !ok || mid == nil {
    			resp(true)
    			return
    		}
    		mid.respMu.Lock()
    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