type context.CancelFunc

32 uses

	context (current package)
		context.go#L231: type CancelFunc func()
		context.go#L240: func WithCancel(parent Context) (ctx Context, cancel CancelFunc) {
		context.go#L625: func WithDeadline(parent Context, d time.Time) (Context, CancelFunc) {
		context.go#L632: func WithDeadlineCause(parent Context, d time.Time, cause error) (Context, CancelFunc) {
		context.go#L703: func WithTimeout(parent Context, timeout time.Duration) (Context, CancelFunc) {
		context.go#L710: func WithTimeoutCause(parent Context, timeout time.Duration, cause error) (Context, CancelFunc) {

	crypto/tls
		quic.go#L166: 	cancel   context.CancelFunc
		tls.go#L135: 		var cancel context.CancelFunc
		tls.go#L141: 		var cancel context.CancelFunc

	github.com/coder/websocket
		dial.go#L68: func (opts *DialOptions) cloneWithDefaults(ctx context.Context) (context.Context, context.CancelFunc, *DialOptions) {
		dial.go#L69: 	var cancel context.CancelFunc
		dial.go#L127: 	var cancel context.CancelFunc
		netconn.go#L104: 	writeCancel  context.CancelFunc
		netconn.go#L110: 	readCancel  context.CancelFunc

	github.com/gotd/td/mtproto
		connect.go#L20: 		var cancel context.CancelFunc
		connect.go#L32: 		var cancel context.CancelFunc

	github.com/gotd/td/pool
		pool.go#L28: 	cancel context.CancelFunc // immutable

	github.com/gotd/td/tdsync
		cancel_group.go#L14: 	cancel context.CancelFunc
		supervisor.go#L16: 	cancel context.CancelFunc

	github.com/gotd/td/telegram
		client.go#L136: 	cancel context.CancelFunc

	github.com/klauspost/compress/zstd
		decoder.go#L56: 	cancel context.CancelFunc

	github.com/refraction-networking/utls
		quic.go#L157: 	cancel   context.CancelFunc
		tls.go#L123: 		var cancel context.CancelFunc
		tls.go#L129: 		var cancel context.CancelFunc

	net
		dial.go#L560: func (d *Dialer) dialCtx(ctx context.Context) (context.Context, context.CancelFunc) {
		dial.go#L565: 	var cancel1, cancel2 context.CancelFunc
		dial.go#L750: 				var cancel context.CancelFunc
		lookup.go#L338: 	dnsWaitGroupDone := func(ch <-chan singleflight.Result, cancelFn context.CancelFunc) {

	net/http
		server.go#L260: 	cancelCtx context.CancelFunc
		server.go#L430: 	cancelCtx        context.CancelFunc // when ServeHTTP exits
		server.go#L3819: 		var cancelCtx context.CancelFunc
		transport.go#L1341: 	cancelCtx context.CancelFunc