context.Context.Done (method)

85 uses

	context (current package)
		context.go#L105: 	Done() <-chan struct{}
		context.go#L368: 	done := parent.Done()
		context.go#L460: 	done := parent.Done()
		context.go#L506: 		case <-parent.Done():

	crypto/tls
		conn.go#L1510: 		c.quic.cancelc = handshakeCtx.Done()
		conn.go#L1512: 	} else if ctx.Done() != nil {
		conn.go#L1529: 			case <-handshakeCtx.Done():

	github.com/cenkalti/backoff/v4
		context.go#L57: 	case <-b.ctx.Done():
		retry.go#L113: 		case <-ctx.Done():
		ticker.go#L76: 		case <-t.ctx.Done():

	github.com/gotd/td/internal/mtproto
		ack.go#L32: 		case <-ctx.Done():
		conn.go#L171: 	<-ctx.Done()
		ping.go#L33: 	case <-ctx.Done():
		ping.go#L77: 	case <-ctx.Done():
		ping.go#L106: 		case <-ctx.Done():
		read.go#L94: 		case <-ctx.Done():
		read.go#L172: 			case <-ctx.Done():
		read.go#L190: 			case <-ctx.Done():
		salt.go#L53: 	case <-ctx.Done():
		salt.go#L70: 		case <-ctx.Done():

	github.com/gotd/td/internal/pool
		pool.go#L183: 		case <-ctx.Done():
		pool.go#L185: 		case <-c.ctx.Done():
		pool.go#L220: 	case <-ctx.Done():
		pool.go#L222: 	case <-c.ctx.Done():

	github.com/gotd/td/internal/rpc
		engine.go#L145: 	case <-ctx.Done():
		engine.go#L167: 	case <-e.reqCtx.Done():
		engine.go#L201: 			case <-ctx.Done():
		engine.go#L203: 			case <-e.reqCtx.Done():

	github.com/gotd/td/telegram
		bot.go#L13: 	<-ctx.Done()
		builder.go#L127: 				case <-ctx.Done():
		connect.go#L42: 		case <-ctx.Done():
		connect.go#L104: 		case <-c.ctx.Done():
		connect.go#L138: 		case <-ctx.Done():
		connect.go#L141: 		case <-c.ctx.Done():
		connect.go#L147: 		case <-ctx.Done():
		migrate_to_dc.go#L16: 	case <-ctx.Done():
		migrate_to_dc.go#L23: 	case <-ctx.Done():
		migrate_to_dc.go#L35: 	case <-ctx.Done():
		migrate_to_dc.go#L69: 	case <-ctx.Done():
		pool.go#L26: 	case <-c.ctx.Done():

	github.com/gotd/td/telegram/auth/qrlogin
		qrlogin.go#L159: 		case <-ctx.Done():

	github.com/gotd/td/telegram/dcs
		plain.go#L147: 		case <-ctx.Done():
		plain.go#L165: 		case <-ctx.Done():

	github.com/gotd/td/telegram/internal/manager
		conn.go#L145: 	case <-ctx.Done():

	github.com/gotd/td/tgerr
		flood_wait.go#L63: 		case <-ctx.Done():

	github.com/gotd/td/transport
		websocket.go#L69: 	reqCtx := r.Context().Done()

	golang.org/x/net/internal/socks
		client.go#L41: 			case <-ctx.Done():

	golang.org/x/net/proxy
		dial.go#L49: 	case <-ctx.Done():

	net
		cgo_unix.go#L44: 	if ctx.Done() == nil {
		cgo_unix.go#L63: 	case <-ctx.Done():
		dial.go#L473: 			case <-subCtx.Done():
		dial.go#L592: 		case <-ctx.Done():
		fd_unix.go#L63: 		case <-ctx.Done():
		fd_unix.go#L98: 	ctxDone := ctx.Done()
		lookup.go#L277: 	case <-ovc.lookupValues.Done():
		lookup.go#L333: 	case <-ctx.Done():

	net/http
		h2_bundle.go#L7666: 				case <-req.Context().Done():
		h2_bundle.go#L8164: 	case <-ctx.Done():
		h2_bundle.go#L8323: 		case <-ctx.Done():
		h2_bundle.go#L8396: 		case <-ctx.Done():
		h2_bundle.go#L8440: 	case <-ctx.Done():
		h2_bundle.go#L8513: 			case <-ctx.Done():
		h2_bundle.go#L8559: 		case <-ctx.Done():
		h2_bundle.go#L8578: 	case <-ctx.Done():
		h2_bundle.go#L8920: 		case <-ctx.Done():
		h2_bundle.go#L9696: 	case <-cs.ctx.Done():
		h2_bundle.go#L10040: 	case <-ctx.Done():
		server.go#L2816: 		case <-ctx.Done():
		server.go#L3415: 	case <-ctx.Done():
		socks_bundle.go#L47: 			case <-ctx.Done():
		transport.go#L573: 		case <-ctx.Done():
		transport.go#L1407: 			case <-req.Context().Done():
		transport.go#L1421: 	case <-req.Context().Done():
		transport.go#L1703: 		if ctx.Done() == nil {
		transport.go#L1727: 		case <-connectCtx.Done():
		transport.go#L2252: 		case <-rc.req.Context().Done():
		transport.go#L2647: 	ctxDoneChan := req.Context().Done()

	nhooyr.io/websocket
		conn.go#L189: 		case <-readCtx.Done():
		conn.go#L196: 		case <-writeCtx.Done():
		conn.go#L245: 	case <-ctx.Done():
		conn.go#L283: 	case <-ctx.Done():
		read.go#L222: 		case <-ctx.Done():
		read.go#L251: 		case <-ctx.Done():
		write.go#L263: 		case <-ctx.Done():
		write.go#L282: 			case <-ctx.Done():