func time.AfterFunc

29 uses

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

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

	contrib.go.opencensus.io/exporter/stackdriver
		trace.go#L193: 	time.AfterFunc(5*time.Second, func() {

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

	crypto/tls
		tls.go#L137: 		timer := time.AfterFunc(timeout, func() {

	github.com/go-redis/redis/v8
		cluster.go#L492: 	time.AfterFunc(time.Minute, func() {

	golang.org/x/net/http2
		server.go#L847: 		sc.idleTimer = time.AfterFunc(sc.srv.IdleTimeout, sc.onIdleTimer)
		server.go#L853: 	settingsTimer := time.AfterFunc(firstSettingsTimeout, sc.onSettingsTimer)
		server.go#L1331: 	sc.shutdownTimer = time.AfterFunc(d, sc.onShutdownTimer)
		server.go#L1974: 		st.writeDeadline = time.AfterFunc(sc.hs.WriteTimeout, st.onWriteTimeout)
		transport.go#L657: 		cc.idleTimer = time.AfterFunc(d, cc.onIdleTimeout)
		transport.go#L1815: 		t = time.AfterFunc(readIdleTimeout, cc.healthCheck)
		transport.go#L2627: 	s.timer = time.AfterFunc(hugeDuration, func() {

	google.golang.org/api/support/bundler
		bundler.go#L288: 		b.flushTimer = time.AfterFunc(b.DelayThreshold, b.tryHandleBundles)

	google.golang.org/grpc/balancer/grpclb
		grpclb_util.go#L173: 	timer := time.AfterFunc(ccc.timeout, func() {

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

	net/http
		h2_bundle.go#L4416: 		sc.idleTimer = time.AfterFunc(sc.srv.IdleTimeout, sc.onIdleTimer)
		h2_bundle.go#L4422: 	settingsTimer := time.AfterFunc(http2firstSettingsTimeout, sc.onSettingsTimer)
		h2_bundle.go#L4900: 	sc.shutdownTimer = time.AfterFunc(d, sc.onShutdownTimer)
		h2_bundle.go#L5529: 		st.writeDeadline = time.AfterFunc(sc.hs.WriteTimeout, st.onWriteTimeout)
		h2_bundle.go#L7160: 		cc.idleTimer = time.AfterFunc(d, cc.onIdleTimeout)
		h2_bundle.go#L8318: 		t = time.AfterFunc(readIdleTimeout, cc.healthCheck)
		h2_bundle.go#L9131: 	s.timer = time.AfterFunc(hugeDuration, func() {
		transport.go#L990: 			pconn.idleTimer = time.AfterFunc(t.IdleConnTimeout, pconn.closeConnIfStillIdle)
		transport.go#L1522: 		timer = time.AfterFunc(d, func() {

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

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

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