func context.WithCancel
23 uses
context (current package)
context.go#L235: func WithCancel(parent Context) (ctx Context, cancel CancelFunc) {
context.go#L619: return WithCancel(parent)
crypto/tls
conn.go#L1503: handshakeCtx, cancel := context.WithCancel(ctx)
github.com/gotd/td/internal/mtproto
conn.go#L195: ctx, cancel := context.WithCancel(ctx)
github.com/gotd/td/internal/pool
pool.go#L54: ctx, cancel := context.WithCancel(ctx)
github.com/gotd/td/internal/rpc
engine.go#L47: reqCtx, reqCancel := context.WithCancel(context.Background())
engine.go#L83: retryCtx, retryClose := context.WithCancel(ctx)
engine.go#L179: ctx, cancel := context.WithCancel(ctx)
github.com/gotd/td/internal/tdsync
cancel_group.go#L32: ctx, cancel := context.WithCancel(parent)
supervisor.go#L23: ctx, cancel := context.WithCancel(parent)
github.com/gotd/td/telegram
connect.go#L112: c.ctx, c.cancel = context.WithCancel(ctx)
github.com/gotd/td/telegram/dcs
plain.go#L154: dialCtx, dialCancel := context.WithCancel(ctx)
net
dial.go#L467: subCtx, cancel := context.WithCancel(ctx)
dial.go#L547: primaryCtx, primaryCancel := context.WithCancel(ctx)
dial.go#L558: fallbackCtx, fallbackCancel := context.WithCancel(ctx)
lookup.go#L319: lookupGroupCtx, lookupGroupCancel := context.WithCancel(withUnexpiredValuesPreserved(ctx))
net/http
h2_bundle.go#L4347: ctx, cancel = context.WithCancel(opts.context())
h2_bundle.go#L5932: ctx, cancelCtx := context.WithCancel(sc.baseCtx)
server.go#L1034: ctx, cancelCtx := context.WithCancel(ctx)
server.go#L1925: ctx, cancelCtx := context.WithCancel(ctx)
nhooyr.io/websocket
netconn.go#L58: nc.writeCtx, nc.writeCancel = context.WithCancel(ctx)
netconn.go#L59: nc.readCtx, nc.readCancel = context.WithCancel(ctx)
read.go#L64: ctx, cancel := context.WithCancel(ctx)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |