golang.org/x/sync/singleflight.Group.DoChan (method)

2 uses

	golang.org/x/sync/singleflight (current package)
		singleflight.go#L121: func (g *Group) DoChan(key string, fn func() (any, error)) <-chan Result {

	github.com/gotd/td/telegram
		cdn.go#L158: 	resultCh := c.cdnKeysLoad.DoChan(helpGetCDNConfigSingleflightKey, func() (interface{}, error) {