func time.AfterFunc
19 uses
time (current package)
sleep.go#L210: func AfterFunc(d Duration, f func()) *Timer {
context
context.go#L643: c.timer = time.AfterFunc(dur, func() {
crypto/internal/sysrand
rand.go#L38: t := time.AfterFunc(time.Minute, warnBlocked)
go.pact.im/x/clock
runtime.go#L30: return time.AfterFunc(d, func() {
golang.org/x/net/http2
server.go#L211: return timeTimer{time.AfterFunc(d, f)}
transport.go#L232: return timeTimer{time.AfterFunc(d, f)}
transport.go#L1137: t := time.AfterFunc(250*time.Millisecond, cc.forceCloseConn)
google.golang.org/grpc/balancer/pickfirst/internal
internal.go#L32: timer := time.AfterFunc(d, f)
google.golang.org/grpc/internal
internal.go#L238: return time.AfterFunc(d, f)
google.golang.org/grpc/internal/idle
idle.go#L33: return time.AfterFunc(d, f)
net
pipe.go#L54: d.timer = time.AfterFunc(dur, func() {
net/http
h2_bundle.go#L4258: return http2timeTimer{time.AfterFunc(d, f)}
h2_bundle.go#L7654: return http2timeTimer{time.AfterFunc(d, f)}
h2_bundle.go#L8557: t := time.AfterFunc(250*time.Millisecond, cc.forceCloseConn)
transport.go#L1138: pconn.idleTimer = time.AfterFunc(t.IdleConnTimeout, pconn.closeConnIfStillIdle)
transport.go#L1695: timer = time.AfterFunc(d, func() {
net/http/httputil
reverseproxy.go#L626: mlw.t = time.AfterFunc(flushInterval, mlw.delayedFlush)
reverseproxy.go#L703: m.t = time.AfterFunc(m.latency, m.delayedFlush)
testing
testing.go#L2470: m.timer = time.AfterFunc(*timeout, func() {