func time.AfterFunc

27 uses

	time (current package)
		sleep.go#L163: func AfterFunc(d Duration, f func()) *Timer {

	context
		context.go#L455: 		c.timer = time.AfterFunc(dur, func() {

	crypto/rand
		rand_unix.go#L58: 		t := time.AfterFunc(60*time.Second, warnBlocked)

	go.pact.im/x/clock
		runtime.go#L30: 	return time.AfterFunc(d, func() {

	golang.org/x/net/http2
		server.go#L926: 		sc.idleTimer = time.AfterFunc(sc.srv.IdleTimeout, sc.onIdleTimer)
		server.go#L932: 	settingsTimer := time.AfterFunc(firstSettingsTimeout, sc.onSettingsTimer)
		server.go#L1434: 	sc.shutdownTimer = time.AfterFunc(d, sc.onShutdownTimer)
		server.go#L2021: 			st.readDeadline = time.AfterFunc(sc.hs.ReadTimeout, st.onReadTimeout)
		server.go#L2117: 		st.writeDeadline = time.AfterFunc(sc.hs.WriteTimeout, st.onWriteTimeout)
		server.go#L2726: 			st.readDeadline = time.AfterFunc(deadline.Sub(time.Now()), st.onReadTimeout)
		server.go#L2752: 			st.writeDeadline = time.AfterFunc(deadline.Sub(time.Now()), st.onWriteTimeout)
		transport.go#L752: 		cc.idleTimer = time.AfterFunc(d, cc.onIdleTimeout)
		transport.go#L1005: 	t := time.AfterFunc(250*time.Millisecond, cc.forceCloseConn)
		transport.go#L2220: 		t = time.AfterFunc(readIdleTimeout, cc.healthCheck)

	net
		pipe.go#L54: 		d.timer = time.AfterFunc(dur, func() {

	net/http
		h2_bundle.go#L4571: 		sc.idleTimer = time.AfterFunc(sc.srv.IdleTimeout, sc.onIdleTimer)
		h2_bundle.go#L4577: 	settingsTimer := time.AfterFunc(http2firstSettingsTimeout, sc.onSettingsTimer)
		h2_bundle.go#L5066: 	sc.shutdownTimer = time.AfterFunc(d, sc.onShutdownTimer)
		h2_bundle.go#L5709: 		st.writeDeadline = time.AfterFunc(sc.hs.WriteTimeout, st.onWriteTimeout)
		h2_bundle.go#L7384: 		cc.idleTimer = time.AfterFunc(d, cc.onIdleTimeout)
		h2_bundle.go#L8811: 		t = time.AfterFunc(readIdleTimeout, cc.healthCheck)
		transport.go#L997: 			pconn.idleTimer = time.AfterFunc(t.IdleConnTimeout, pconn.closeConnIfStillIdle)
		transport.go#L1529: 		timer = time.AfterFunc(d, func() {

	net/http/httptest
		server.go#L230: 		t := time.AfterFunc(5*time.Second, s.logCloseHangDebugInfo)

	net/http/httputil
		reverseproxy.go#L439: 			mlw.t = time.AfterFunc(flushInterval, mlw.delayedFlush)
		reverseproxy.go#L521: 		m.t = time.AfterFunc(m.latency, m.delayedFlush)

	testing
		testing.go#L2026: 	m.timer = time.AfterFunc(*timeout, func() {