Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newTimer (0.1 sec)

  1. src/net/http/h2_bundle.go

    	if s.group != nil {
    		return s.group.Now()
    	}
    	return time.Now()
    }
    
    // newTimer creates a new time.Timer, or a synthetic timer in tests.
    func (s *http2Server) newTimer(d time.Duration) http2timer {
    	if s.group != nil {
    		return s.group.NewTimer(d)
    	}
    	return http2timeTimer{time.NewTimer(d)}
    }
    
    // afterFunc creates a new time.AfterFunc timer, or a synthetic timer in tests.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top