func time.AfterFunc

19 uses

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

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

	crypto/rand
		rand_unix.go#L53: 		t := time.AfterFunc(time.Minute, warnBlocked)

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

	net/http
		h2_bundle.go#L4743: 		sc.idleTimer = time.AfterFunc(sc.srv.IdleTimeout, sc.onIdleTimer)
		h2_bundle.go#L4749: 	settingsTimer := time.AfterFunc(http2firstSettingsTimeout, sc.onSettingsTimer)
		h2_bundle.go#L5256: 	sc.shutdownTimer = time.AfterFunc(d, sc.onShutdownTimer)
		h2_bundle.go#L5846: 			st.readDeadline = time.AfterFunc(sc.hs.ReadTimeout, st.onReadTimeout)
		h2_bundle.go#L5945: 		st.writeDeadline = time.AfterFunc(sc.hs.WriteTimeout, st.onWriteTimeout)
		h2_bundle.go#L6609: 			st.readDeadline = time.AfterFunc(deadline.Sub(time.Now()), st.onReadTimeout)
		h2_bundle.go#L6635: 			st.writeDeadline = time.AfterFunc(deadline.Sub(time.Now()), st.onWriteTimeout)
		h2_bundle.go#L7841: 		cc.idleTimer = time.AfterFunc(d, cc.onIdleTimeout)
		h2_bundle.go#L8094: 	t := time.AfterFunc(250*time.Millisecond, cc.forceCloseConn)
		h2_bundle.go#L9335: 		t = time.AfterFunc(readIdleTimeout, cc.healthCheck)
		transport.go#L1011: 			pconn.idleTimer = time.AfterFunc(t.IdleConnTimeout, pconn.closeConnIfStillIdle)
		transport.go#L1547: 		timer = time.AfterFunc(d, func() {

	nhooyr.io/websocket
		dial.go#L139: 			timer := time.AfterFunc(time.Second*3, func() {
		netconn.go#L61: 	nc.writeTimer = time.AfterFunc(math.MaxInt64, func() {
		netconn.go#L77: 	nc.readTimer = time.AfterFunc(math.MaxInt64, func() {