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) {
![]() |
The pages are generated with Golds v0.8.4. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |