func time.AfterFunc
16 uses
time (current package)
sleep.go#L167: func AfterFunc(d Duration, f func()) *Timer {
context
context.go#L451: c.timer = time.AfterFunc(dur, func() {
crypto/rand
rand_unix.go#L58: t := time.AfterFunc(60*time.Second, warnBlocked)
crypto/tls
tls.go#L137: timer := time.AfterFunc(timeout, func() {
go.etcd.io/bbolt
db.go#L761: db.batch.timer = time.AfterFunc(db.MaxBatchDelay, db.batch.trigger)
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() {
testing
testing.go#L1697: m.timer = time.AfterFunc(*timeout, func() {