type context.CancelFunc
24 uses
context (current package)
context.go#L227: type CancelFunc func()
context.go#L235: func WithCancel(parent Context) (ctx Context, cancel CancelFunc) {
context.go#L606: func WithDeadline(parent Context, d time.Time) (Context, CancelFunc) {
context.go#L613: func WithDeadlineCause(parent Context, d time.Time, cause error) (Context, CancelFunc) {
context.go#L684: func WithTimeout(parent Context, timeout time.Duration) (Context, CancelFunc) {
context.go#L691: func WithTimeoutCause(parent Context, timeout time.Duration, cause error) (Context, CancelFunc) {
crypto/tls
quic.go#L128: cancel context.CancelFunc
tls.go#L122: var cancel context.CancelFunc
tls.go#L128: var cancel context.CancelFunc
github.com/gotd/td/internal/pool
pool.go#L28: cancel context.CancelFunc // immutable
github.com/gotd/td/internal/rpc
engine.go#L32: reqCancel context.CancelFunc
github.com/gotd/td/internal/tdsync
cancel_group.go#L14: cancel context.CancelFunc
supervisor.go#L16: cancel context.CancelFunc
github.com/gotd/td/telegram
client.go#L112: cancel context.CancelFunc
net
dial.go#L608: var cancel context.CancelFunc
lookup.go#L327: dnsWaitGroupDone := func(ch <-chan singleflight.Result, cancelFn context.CancelFunc) {
net/http
server.go#L259: cancelCtx context.CancelFunc
server.go#L427: cancelCtx context.CancelFunc // when ServeHTTP exits
server.go#L3379: var cancelCtx context.CancelFunc
nhooyr.io/websocket
dial.go#L53: func (opts *DialOptions) cloneWithDefaults(ctx context.Context) (context.Context, context.CancelFunc, *DialOptions) {
dial.go#L54: var cancel context.CancelFunc
dial.go#L112: var cancel context.CancelFunc
netconn.go#L104: writeCancel context.CancelFunc
netconn.go#L110: readCancel context.CancelFunc
|
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. |