func time.AfterFunc

28 uses

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

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

	crypto/internal/sysrand
		rand.go#L41: 		t := time.AfterFunc(time.Minute, warnBlocked)

	github.com/jackc/pgx/v5/pgconn
		pgconn.go#L386: 	pgConn.slowWriteTimer = time.AfterFunc(time.Duration(math.MaxInt64),
		pgconn.go#L2236: 	pgConn.slowWriteTimer = time.AfterFunc(time.Duration(math.MaxInt64),

	github.com/jackc/pgx/v5/pgxpool
		pool.go#L476: 		p.healthCheckTimer = time.AfterFunc(healthCheckDelay, func() {

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

	google.golang.org/grpc/balancer/pickfirst/internal
		internal.go#L34: 		timer := time.AfterFunc(d, f)

	google.golang.org/grpc/internal
		internal.go#L227: 		return time.AfterFunc(d, f)

	google.golang.org/grpc/internal/idle
		idle.go#L32: 	return time.AfterFunc(d, f)

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

	net/http
		transport.go#L1231: 			pconn.idleTimer = time.AfterFunc(t.IdleConnTimeout, pconn.closeConnIfStillIdle)
		transport.go#L1795: 		timer = time.AfterFunc(d, func() {

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

	net/http/internal/http2
		server.go#L805: 		sc.idleTimer = time.AfterFunc(idle, sc.onIdleTimer)
		server.go#L811: 		sc.readIdleTimer = time.AfterFunc(conf.SendPingTimeout, sc.onReadIdleTimer)
		server.go#L817: 	settingsTimer := time.AfterFunc(firstSettingsTimeout, sc.onSettingsTimer)
		server.go#L1367: 	sc.shutdownTimer = time.AfterFunc(d, sc.onShutdownTimer)
		server.go#L1982: 		st.readDeadline = time.AfterFunc(sc.hs.ReadTimeout(), st.onReadTimeout)
		server.go#L2099: 		st.writeDeadline = time.AfterFunc(writeTimeout, st.onWriteTimeout)
		server.go#L2734: 			st.readDeadline = time.AfterFunc(deadline.Sub(time.Now()), st.onReadTimeout)
		server.go#L2760: 			st.writeDeadline = time.AfterFunc(deadline.Sub(time.Now()), st.onWriteTimeout)
		transport.go#L698: 		cc.idleTimer = time.AfterFunc(d, cc.onIdleTimeout)
		transport.go#L921: 	t := time.AfterFunc(250*time.Millisecond, cc.forceCloseConn)
		transport.go#L2008: 		cc.idleTimer = time.AfterFunc(unusedWaitTime-idleTime, func() {
		transport.go#L2073: 		t = time.AfterFunc(readIdleTimeout, cc.healthCheck)

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